Hi snb,
your code is working very nicely - it does the good job.
I have been trying to export it to my existing PPT unsuccessfully,
Sub M_snb()
With getobject("C:\Users\DJ-PC\PartDescriptions.xlsm")
sn = .Sheets(1).Cells(1).CurrentRegion
.close 0
End With
With CreateObject("Powerpoint.application")
FlName = "C:\Users\DJ-PC\Desktop\DJPartDescriptions.PPTX" ' this did not work
With .presentations.Add
For j = 1 To UBound(sn)
With .Slides.Add(1, 12).Shapes.AddTextbox(1, 120, 120, 270, 100).TextFrame.TextRange
.Text = sn(j, 1) & vbLf & sn(j, 2)
.Font.Size = 38
End With
Next
End With
End With
End Sub
Open Existing PPT
Dim FlName As String
FlName = "C:\Users\DJ-PC\Desktop\DJPartDescriptions.PPTX"
On Error Resume Next
Set oPPApp = GetObject(, "PowerPoint.Application")
If Err.Number <> 0 Then
Set oPPApp = CreateObject("PowerPoint.Application")
and then stuck
I have tried everything - nothing works
if you don't mind and know how I can export it into my current PPT - I will be more than obliged to your kindness
thank you very much
DJ