![]() |
#1
|
|||
|
|||
![]()
Hello,
I am working with word to solve the issue of join table macro and VBA. How can i solve this issues where tables needed to join in a page are dynamic. a picture will explain what i need. The number tables generated are dynamic and it should be attached to the header as shown in the picture. Delete1: spaces between tables Join1: table to header Please help me. Regards, Srinidhi Last edited by srinidhi.mv88; 04-23-2015 at 05:44 AM. Reason: proper questioning method |
#2
|
||||
|
||||
![]()
How was this series of tables created? If you want to remove the spaces between the tables, run a macro with the following code:
Code:
Dim oPara As Paragraph For Each oPara In ActiveDocument.Range.Paragraphs If Not oPara.Range.Information(wdWithInTable) Then If Len(oPara.Range) = 1 Then oPara.Range.Style = "Normal" oPara.Range.Delete End If End If Next oPara
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#3
|
|||
|
|||
![]()
These tables are generated by our database, which has 2 different object types and each object type has its own template. for example
Header is in the test case template, the following tables are test steps. which are managed in our database as meta data. I will try this code and if in case i need help, i will write again. Please help me with the VBA code as i am new to it. With regards, Chini |
![]() |
Tags |
macros, vba code, word 2010; |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Dart82 | Word Tables | 3 | 04-11-2016 04:15 AM |
![]() |
Yankel | Word Tables | 3 | 08-01-2014 05:18 PM |
Join cells together separated by ; when some are blank | leemoreau | Excel | 3 | 11-03-2013 11:22 AM |
Format as table-> with 2 row header? | 56_kruiser | Excel | 3 | 11-13-2012 11:32 PM |
Help Autoformating a Table w 2 header rows | Julie713 | Word Tables | 0 | 03-01-2010 08:15 AM |