![]() |
#1
|
|||
|
|||
![]()
Hey everyone,
the VBA Word API drives me nuts... I'm importing content from a website into word and automatically assign Table Captions and Figure Captions to be summaries in List of Tables/Figures. All this works fine with no problem. As of now I'm creating the captions with: Code:
Selection.InsertCaption Label:=wdCaptionTable, Title:=Trim(innerTextString), Position:=wdCaptionPositionAbove Code:
ThisDocument.TablesOfFigures.Add Range:=Selection.Range, Caption:=wdCaptionFigure, IncludeLabel:=True, IncludePageNumbers:=True In order to ensure proper content language I set the following at different positions in the code: Code:
ThisDocument.Content.LanguageID = wdEnglishUS Does anyone know how to robustly set the language for the Table/Figure Captions to English, even if deployed on machines with different global language settings? Thanks! Your support is highly appreciated! Tobias Also posted under: Language of Table and Figure Captions |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Table captions changing to Figure captions and vice versa | alicatsmom | Word Tables | 0 | 06-11-2019 08:51 AM |
How to create multilevel figure/table captions | fencingfoz | Word | 3 | 04-18-2019 05:07 PM |
WORD is not descriminating between table and figure Captions | twrey | Word | 0 | 01-01-2016 03:58 PM |
![]() |
Inge Pakulski | Word | 4 | 10-07-2015 05:24 AM |
Broken Table/Figure Captions with Headings | kokopelli_2001 | Word | 1 | 06-07-2013 04:50 AM |