![]() |
|
#16
|
|||
|
|||
|
Hi Paul,
Wonderful makro to insert captions via tables... in principle. However, on Code:
.InsertCaption Label:="Figure", TitleAutoText:=" ", Title:="", _
Position:=wdCaptionPositionBelow, ExcludeLabel:=0
in the MakeImageTable() procedure, I get error 4198 ("Command failed"). I run this on Windows 7 64 bit with MS Word 2010. What can I do to fix it? |
|
#17
|
||||
|
||||
|
I am unable to replicate that error. Perhaps you could attach a document to a post with some representative content (delete anything sensitive)? You can do this via the paperclip symbol on the 'Go Advanced' tab at the bottom of this screen.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#18
|
||||
|
||||
|
Is TitleAutoText valid with a space? I thought that would need to be a valid building block name.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
#19
|
||||
|
||||
|
Works for me... That said, the parameter is optional and can be omitted.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
| Tags |
| automatic figure caption |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
VBA to insert captions without appending to existing captions
|
Marrick13 | Word VBA | 17 | 03-21-2023 07:51 PM |
Help formatting Pictures inside a Text Box in Word 2013
|
jstumbo87 | Word | 2 | 01-29-2014 12:07 PM |
Macro to read word document
|
harishankar.selvaraju | Excel Programming | 1 | 06-14-2012 03:48 AM |
| Where we can find a Word document (docx file) that contains professional work inside? | Jamal NUMAN | Word | 0 | 06-26-2011 09:57 AM |
| Captions and Figures Inside a Frame...RIDICULOUS MS hasn't developed a solution!!! | stlsmiln | Word | 2 | 02-23-2010 02:15 AM |