![]() |
|
|
|
#1
|
||||
|
||||
|
All those Selection statements make my eyes water. You could do all of this without selecting anything...
Be that as it may, the simple remedy for your commented-out lines is: ActiveDocument.Tables(23).Cell(1, 2).Range.Text = vbNullString
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#2
|
|||
|
|||
|
Yes I can see how! I've got section breaks and bookmarks etc, it looks a mess but it works up to this point. This is my first real go at vba for Word - I'm more used to vba for Access. Since this is the only bit of vba required for this form, I'm not too fussy about how I acheive the copy and pasting of the table and clearing of the selected cells, so long as it works.
Also, how do I pick out the 4 or 5 individual cells that I need to clear? (ie in excel it would be B2, B3, A5 and so on.) Thanks. Jamie. |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Populate Cells with info contained in other cells | EC37 | Excel Programming | 8 | 07-16-2014 10:55 AM |
Deleting A blank Line that has a specific heading style , word 2010 & 2013
|
SteveWcg | Word | 5 | 01-08-2014 10:37 PM |
Deleting rows with specific criteria
|
joflow21 | Excel | 9 | 11-22-2013 12:10 PM |
Save table sytle, NOT a specific table
|
Lebber | Word | 9 | 02-01-2013 12:31 AM |
how to transfer multiple excel cells into specific place in word document by formulas
|
anton | Excel | 1 | 12-20-2011 03:56 AM |