![]() |
|
#1
|
|||
|
|||
![]() Quote:
In this case the output is standard with different style, font names and size etc I was thinking on Total how may Styles are there in the Word Which Style (name) has maximum length. So let us keep the Len of the Style (name) which has maximum characters or letters. Same case for Font name, Alignment etc On Beforehand Knowing the LEN of Style(name) , LEN(Font.name), LEN(Alignment) which has max characters, keep that as Const and derive function for equal spacing between values of returned objects. Putting exact logic for a function is really difficult for me. Do we have vbTabstop like PRINT TAB(30); in VBA ? For each document no will know beforehand what style font name etc have been used. once running the macro shall give the details Therfore i used Textbox to get the details of Returned value of objects. This is for neat representation ie why exact spacing required SamD |
#2
|
||||
|
||||
![]() Quote:
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]() Quote:
Quote:
Output shall remain in textbox itself. Will it be possible to show the two methods ? SamD |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Multiple found values from five sheets, multiple returned values in sheet six? | irisha | Excel Programming | 26 | 09-30-2016 01:20 AM |
![]() |
BruceM | Word VBA | 1 | 03-10-2015 08:20 AM |
List of Objects for CreateObject | excelledsoftware | Excel Programming | 4 | 09-14-2014 08:47 PM |
![]() |
bshawnr | Word VBA | 1 | 08-22-2013 11:03 PM |
Pivot Table:delete zero values when using calculated objects | Serge 007 | Excel | 1 | 06-05-2013 11:47 AM |