Home > Word Error > Word Error 5991

Word Error 5991

Page 1 of 2 1 2 > « Previous Thread | Next Thread » Thread Tools Show Printable Version Display Modes Linear Mode Switch to Hybrid Mode Switch to Threaded Mode I changed it again to have three cells and again it behaved correctly. Seasonal Challenge (Contributions from TeXing Dead Welcome) Would it be inappropriate to use my workplace's postage machine to mail my tax returns? Browse other questions tagged table ms-word runtime-error word-vba or ask your own question. check over here

subscribe

Home Register Calendar Today's Posts FAQ Archive © Xtremevbtalk.com 2001 - 2016. Well done. Thanks, for relplies Reply With Quote 08-02-2010,12:59 AM #2 spak View Profile View Forum Posts View Blog Entries View Articles VBAX Newbie Joined Aug 2010 Posts 2 I found a solution It takes just 2 minutes to sign up (and it's free!). http://www.office-forums.com/threads/error-5991-table-has-vertically-merged-cells-how-can-i-unmer.1875380/

I was using a three-column table so I didn't see it. 0 LVL 76 Overall: Level 76 MS Word 65 MS Office 29 Message Active today Expert Comment by:GrahamSkan2012-08-07 Yes, Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. Learn the most practical features and best approaches for ASP.NET. All rights reserved.

The meaning of title "Last Argument of Kings" ¿Mi cumpleaños es el "uno" o "un" de agosto? Suggested Solutions Title # Comments Views Activity Office 365 Sync with office 2016 3 19 20d VBA code snippets in a Word 2016 document 3 38 37d A friend is missing The code seems a bit complex. To speed things up, I now have it quit after column 1 is handled, and I cleaned up the extraneous code.

If so, how many tables are there in the document? Join & Ask a Question Need Help in Real-Time? Blaq posted Nov 1, 2016 at 6:10 PM punctuation order fariz posted Oct 31, 2016 at 4:28 AM overwrite specific 'quick parts' - HELP! http://www.vbaexpress.com/forum/showthread.php?33374-Solved-Delete-Row-Run-time-error-5991 I am creating a table in a word document with VB and then filling it with a recordset from an access database.

Powered by vBulletin Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. Reply With Quote Quick Navigation Word Help Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums Announcements Announcements Introductions VBA Code & Other Help How to Login. Error=[0x800adf21] Parrym, Feb 5, 2005, in forum: Word VBA Replies: 0 Views: 622 Parrym Feb 5, 2005 word vba error VBALover, May 3, 2005, in forum: Word VBA Replies:

Mate also I wanted to ask you, which is the best source for beginners to learn all this. Do you think there is a way around that, I mean - in case if there is a table with one cell only, then the code just ignores it and look Changing the first cell hides the entire row, changing the second one shows it. Huge mess.

Trick or Treat polyglot How much more than my mortgage should I charge for rent? check my blog I want to do the following: if there is a row such as: Cheryl 0 1 0 0 1 Chile 0 0 0 0 0 Word should delete the row with Your cache administrator is webmaster. About Us We're a friendly discussion community for Microsoft Office help and support.

First Name Please enter a first name Last Name Please enter a last name Email We will never share this with anyone. So, do you want to end up with: Cheryl 0 1 0 0 1 Chile or: Cheryl 0 1 0 0 1 __________________ Cheers, Paul Edstein [MS MVP - Word] I want to process all tables. this content To start viewing messages, select the forum that you want to visit from the selection below.

Once done I try formatting the table to make it look good by merging cells. However, if the table has vertically merged cells, I get an error on #9, "With tbl.Rows(Selection.Cells(1).RowIndex + 1)". Is there an easier fix? 0 Question by:BlearyEye Facebook Twitter LinkedIn Google LVL 1 Best Solution byBlearyEye I think I've identified the problem.

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed

Can I suggest that you use breakpoints to see where and why the Show/Hide sub is called? 0 LVL 1 Overall: Level 1 Message Accepted Solution by:BlearyEye2012-08-07 I think I've Privacy Policy Site Map Support Terms of Use Microsoft Office Forums > Microsoft Word > Word VBA Macro for MS Word User Name Remember Me? There are tables ranging from ------- one row and only one column (only one cell in a row), and to 20 rows and 20 columns. I don't really start moving any data around until I get a few rows into the table (though the row number varies table by table).

When I run this code: its gives the run time error - 5991 - cannot access individual rows in this collection because the table has vertically merged cells. Not the answer you're looking for? Please try the request again. have a peek at these guys You seem to have so much knowledge, its awesome and quite amazing.

I added a trace to show me the Go to Solution 9 Comments LVL 76 Overall: Level 76 MS Word 65 MS Office 29 Message Active today Expert Comment by:GrahamSkan2012-08-06 I was wondering if there was a known work around or how I would go about excluding individual tables in the macro. What is the difference between `filetype plugin indent on` and `filetype indent on`? SeparateTables.docx 0 LVL 1 Overall: Level 1 Message Author Comment by:BlearyEye2012-08-07 That would be awkward ...

By analyzing and understanding these TTPs, you can dramatically enhance your security program. So with my limited knowledge may be there is a need to include exception handling or something. So apparently it suffices to show/hide one cell in order to affect the row.