Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-17-2012, 05:42 AM
Marrick13 Marrick13 is offline VBA to insert captions without appending to existing captions Windows XP VBA to insert captions without appending to existing captions Office 2010 32bit
Competent Performer
VBA to insert captions without appending to existing captions
 
Join Date: Jun 2006
Posts: 103
Marrick13 will become famous soon enough
Default

I was only joshing - I figured you had examined shapes from all angles (as it were), but recognized that those scenarios made captioning like trying to capture lightning in a bottle. A few years back I came up with the idea of putting a table in a text box to get the best advantages of both shapes and tables (it allows you to place more than one table in the same plane while also allowing you to tabularize text in the shape). It worked great as long as captions weren't needed. They could be inserted manually, of course, but I don't think automating captions would be very reliable.

For now I will just manually insert captions for shapes and can use your code to insert captions for uncaptioned inline shapes. When I adapted the inline code to work on tables, it doesn't recognize existing table captions and appends new ones. But I have a delete-caption-by-label macro that I can use to remove all table captions, and then create new ones by the table label.



Unless, of course, you want to take a whack at seeing why the code adapted for table captions (Sub ApplyTableCaptions) in the attached doesn't see existing captions?
Attached Files
File Type: docx Caption Test (2).docx (23.2 KB, 17 views)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA to insert captions without appending to existing captions Move existing table captions bcarlier Word Tables 17 05-10-2014 02:36 PM
Captions/Styles NWoffice Word 5 10-06-2011 10:26 AM
VBA to insert captions without appending to existing captions creating tables for row of figures and captions gib65 Word 2 08-12-2011 01:25 PM
VBA to insert captions without appending to existing captions Captions (tables and figures) mcjohn Word 1 02-11-2010 10:36 PM
Captions dwilliams Word 0 10-07-2009 08:30 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:50 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