Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Help with macro to add ":" after Table #
I am trying to create a macro in MS Word 2000 where the macro will change
style of all my table title( I can make this change by find and replace by recording) but how can I add ":" after Table #. For example Currently I have all my tables with following title Table 1 Abc Xyz and I am trying to achive Table 1: Abc Xyz Any help on coding... Thanks |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Help with macro to add ":" after Table #
You don't need a macro.
Use EditReplaceMoreUse Wildcards. Type in the find field: (Table [1-9]{1,}) Type in replace field: \1: Replace All |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Help with macro to add ":" after Table #
You can add the 'Table' and the ':' to the numbering scheme itself, via the
Bullets and Numbering dialog. "donna" wrote in message ... I am trying to create a macro in MS Word 2000 where the macro will change style of all my table title( I can make this change by find and replace by recording) but how can I add ":" after Table #. For example Currently I have all my tables with following title Table 1 Abc Xyz and I am trying to achive Table 1: Abc Xyz Any help on coding... Thanks |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Help with macro to add ":" after Table #
But note that table captions are usually not created via Bullets and
Numbering, but rather via the Caption dialog box. -- Stefan Blom Microsoft Word MVP "Jezebel" wrote in message ... You can add the 'Table' and the ':' to the numbering scheme itself, via the Bullets and Numbering dialog. "donna" wrote in message ... I am trying to create a macro in MS Word 2000 where the macro will change style of all my table title( I can make this change by find and replace by recording) but how can I add ":" after Table #. For example Currently I have all my tables with following title Table 1 Abc Xyz and I am trying to achive Table 1: Abc Xyz Any help on coding... Thanks |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Help with macro to add ":" after Table #
Thanks for the help Greg. My table titles are caption so, [1-9] do not
recognise the numerical values. so, I deleted [1-9] from the code and entered it as (Table {1,}) this is working but ":" is replaced before number i.e. Table: 1 instead of Table 1: Any futher help with this. Thanks bansri "Greg" wrote: You don't need a macro. Use EditReplaceMoreUse Wildcards. Type in the find field: (Table [1-9]{1,}) Type in replace field: \1: Replace All |
#6
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Help with macro to add ":" after Table #
Donna,
Display field codes (ALT+F9) In find type: Table ^d In replace type: ^&: Replace all Toggle field codes |
#7
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Help with macro to add ":" after Table #
I greatly appretiate the help, it worked.
Thanks "Greg" wrote: Donna, Display field codes (ALT+F9) In find type: Table ^d In replace type: ^&: Replace all Toggle field codes |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Table in a Form | Tables | |||
Select specific cells in table via macro | Microsoft Word Help | |||
Table headers/footers and layout | Page Layout | |||
Table AutoFormats vs. Table Styles confusion | Tables | |||
Word 2003 Table AutoFormat vs Macro vs VBA | Tables |