Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-06-2024, 07:38 PM
stevenjohnson stevenjohnson is offline Modifying Macropod's Macro (Insert Multiple Images with Caption) Windows 10 Modifying Macropod's Macro (Insert Multiple Images with Caption) Office 2016
Novice
Modifying Macropod's Macro (Insert Multiple Images with Caption)
 
Join Date: Feb 2024
Location: California
Posts: 2
stevenjohnson is on a distinguished road
Default Modifying Macropod's Macro (Insert Multiple Images with Caption)

I have no business playing messing around with macros but I'm trying to make my work life a bit easier so here goes.



I used Macropod's code from this sticky: https://www.msofficeforums.com/drawi...-document.html

I changed it up so that the inserted photos are of certain dimension and whatnot. I got a couple of questions on how to change parts of the macro so that:

1) The caption cells will always have a shading of "White, Background 1, Darker 25%"
2) The caption template will always be:
Figure (numeric value)
Comment:
3) The caption font will always be Black, Times New Roman, Font 12
4) The caption [paragraph] will have 0 pt for before and after spacing and single line spacing

5) The macro table (the image and its caption) will always be horizontally centered to the entire page. Vertically centered would be a bonus but my work documents have header/footer information which I currently do not have the dimensions to right now.

The bolds above are priority. I've also attached an example of what I'm looking for.

For caption 2, I was able to extend the height of the caption so that the words don't get cut off when I write a full sentence, but I cannot extend the height of the caption for caption 1 (due to inserted photo constraints?). I would like the height of the caption to be like caption 2 and not caption 1.

This template is based on Macropod's Macro mixed with my memory of what my work's template looks like. I'll have to go into the office tomorrow and see the official template but I might be content with a Modified Macropod Macro.
Attached Files
File Type: docx Template.docx (37.2 KB, 5 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Modifying Macropod's Macro (Insert Multiple Images with Caption) Macro to insert multiple images into a table with defined number of rows and columns Davidl88 Word VBA 6 09-05-2022 03:41 PM
Modifying Macropod's Macro (Insert Multiple Images with Caption) Need Help modifying code for inserting multiple images atifsyed Word VBA 8 05-17-2022 07:31 PM
Modifying Macropod's Macro (Insert Multiple Images with Caption) Macro to insert multiple images into a table Penini Word VBA 1 03-23-2022 02:30 PM
Insert multiple images at once from a folder beyondimage Excel 1 02-01-2017 12:58 AM

Other Forums: Access Forums

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