View Single Post
 
Old 05-09-2016, 08:02 AM
nando88 nando88 is offline Windows 10 Office 2007
Novice
 
Join Date: May 2016
Posts: 1
nando88 is on a distinguished road
Default Macro to insert multiple pictures with adjustable column size

I want to be able to insert multiple pictures with a macro, but I want to be able to adjust the column size of the table, and the amount of rows that fit in a single page.
I want to have a dialog appear, that asks for those values.
I am currently using the code from https://www.msofficeforums.com/drawi...ument-all.html but I don't know what to add to make the table size change. I tried to change the values in oTbl in this line:
Code:
Set oTbl = Selection.Tables.Add(Selection.Range, 2, 2)
but that didn't work and I don't know what to change. Can someone please help me?

Thanks in advance
Reply With Quote