![]() |
|
#1
|
||||
|
||||
![]() When I run your code (after fixing .ParagraphFormat.Alignment = AlighTxt), I get a 1-row by 7-column table formatted in 12pt Arial. Leaving coding efficiencies aside, I don't see what the problem is.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#2
|
|||
|
|||
![]()
Thanks for helping running the code.
The problem that I encounter is that when I select each cell, the text are all left align, not right align as the code that I wrote intended to. When I ran the debug (ctrl + F8) in VB editor, the alignTxt showed up "empty", but fontsize showed "12". So I know the declaration for alignTxt is wrong but I have no clue how to correct it. |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Occasional 'Overflow' error in constant declaration | Cosmo | Word VBA | 2 | 07-19-2016 06:16 AM |
![]() |
lwhistler | Word VBA | 2 | 08-26-2015 04:02 AM |