![]() |
|
#1
|
|||
|
|||
|
Hi,
(I changed the topic title to better subscribe the post) A while back you guys helped me design a nice script to write Excel tables to Word A few tables don't get exported if the're not filled or when they're not selected. In sort: Code:
If .Bookmarks.Exists(strBkMk) Then
Set wdRng = .Bookmarks(strBkMk).Range
wdRng.Paste
Quote:
I was thinking about making a script to identify everything on the page. Storing in a variant or array and then setting the range to everything. I think the Rng.Delete should work then. But I'm wondering if there is a better approach. Thanks for a the great insights so far! Koen Last edited by KvT Zdam; 02-03-2018 at 11:21 AM. |
| Tags |
| delete a page, index |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Deleting Undeletable text boxes pasted in from web pages
|
TAfromKC | Word | 4 | 05-08-2017 04:53 PM |
| Can we define macros in a way to not misworking after deleting, renaming or moving the source file? | tesoke | Excel Programming | 10 | 11-13-2015 09:30 AM |
deleting blank pages
|
thauser | Word | 3 | 05-27-2014 01:56 AM |
deleting pages
|
paul_pearson | Word | 4 | 03-22-2013 12:18 AM |
Deleting blank pages
|
Microsoftenquirer1000 | Word | 14 | 08-27-2012 01:24 PM |