![]() |
#1
|
|||
|
|||
![]()
Hi! I really need help figuring out what codes to use when joining tables from a direct merger. So far I've copied a couple of codes from someone online but it's not quite what I need in the macro. In fact, when I changed the macro the tables remained the same. Ugh. I'm so frustrated
![]() This is what I used: Sub UpdateAll() Dim oStory As Range For Each oStory In ActiveDocument.StoryRanges oStory.Fields.Update If oStory.StoryType <> wdMainTextStory Then While Not (oStory.NextStoryRange Is Nothing) Set oStory = oStory.NextStoryRange oStory.Fields.Update Wend End If Next oStory lbl_Exit: Set oStory = Nothing Exit Sub End Sub However, I only need one header and no extra rows in between the tables. That's all I need to complete this project. I'm definitely not an expert ![]() Please Help anybody! |
Tags |
direct merger, table joiner |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
SamDsouza | Word VBA | 4 | 01-06-2021 07:27 AM |
![]() |
Benali | Word VBA | 11 | 04-30-2020 07:57 AM |
Word VBA coding for tables | Dont know | Word VBA | 5 | 02-18-2020 05:31 PM |
Directory Mail Merge Trouble | Murph14 | Mail Merge | 5 | 06-03-2015 12:22 AM |
![]() |
sinbad | Word VBA | 6 | 02-27-2012 03:51 AM |