Hello
With the above snippet, I need that to be modified below;
a) SlideArray - Modify that to fit n number of slides depends upon the requirement
b) MyRangeArray - Modify that to read & export ranges by the home tab. Looping style.
Snapshot about the attached file;
This file automates export multiple ranges to PPT. You will see 2 files; a PPT presentation (file attached as an object inside the excel) and an excel file. You need to have the PPT open to run the macro.
Thanks a lot in advance. Karr
Code:
'List of PPT Slides to Paste to
MySlideArray = Array(2, 3, 4, 5, 6)
'List of Excel Ranges to Copy from
MyRangeArray = Array(Sheet1.Range("A1:C10"), Sheet4.Range("A1:C10"), _
Sheet3.Range("A1:C10"), Sheet2.Range("A1:C10"), Sheet5.Range("A1:C10"))
With the above snippet, I need that to be modified below;
a) SlideArray - Modify that to fit n number of slides depends upon the requirement
b) MyRangeArray - Modify that to read & export ranges by the home tab. Looping style.
c) SlideSetup - Respective to the range, make it to cover full slide (leave space to title)With myPresentation.PageSetup
shp.Left = (.SlideWidth \ 2) - (shp.Width \ 2)
shp.Top = (.SlideHeight \ 2) - (shp.Height \ 2)
End With
Snapshot about the attached file;
This file automates export multiple ranges to PPT. You will see 2 files; a PPT presentation (file attached as an object inside the excel) and an excel file. You need to have the PPT open to run the macro.
Thanks a lot in advance. Karr