Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-29-2015, 04:47 PM
aarwdc aarwdc is offline Captions, self defined Windows 8 Captions, self defined Office 2007
Novice
 
Join Date: Jan 2015
Posts: 1
aarwdc is on a distinguished road
Default Adding a new caption label in macro

Quote:
Originally Posted by Stefan Blom View Post

Adding a caption label could be done in an ordinary Word macro (Visual Basic for Applications), of course, if that helps. In the simplest case:

Code:
Application.CaptionLabels.Add "My caption label here"
A question on this code.
Could it be amended to add 'include chapter number' setting to that macro?
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Captions, self defined VBA to insert captions without appending to existing captions Marrick13 Word VBA 17 03-21-2023 07:51 PM
Captions, self defined FileSystemObject Compile Error: User-Defined Type Not Defined gsrikanth Excel Programming 2 03-28-2022 06:32 AM
Captions, self defined Range.Information(wdStartOfRangeRowNumber): Application-defined or Object-defined err tinfanide Excel Programming 2 06-09-2012 10:19 AM
Captions, self defined Application-defined or Object-defined error Manit Excel Programming 4 12-08-2011 07:35 PM
Captions, self defined Defined Views in Tasks Inga Office 3 07-20-2005 07:10 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:18 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft