Dimitris254
Board Regular
- Joined
- Apr 25, 2016
- Messages
- 139
i'm using Excel macro in a worksheet to read a cell, which then i put as in a textbox in PowerPoint.
the code works fine for 5 slides (it's in a loop apparently).
The weird is that every 5 slides i get the type mismatch error. The best is that if i simply press F5 to continue the macro, it will continue flawlessly (for 5 more slides).
Rich (BB code):
With PP_Slide.Shapes.AddTextbox(Orientation:=1, Left:=28, Top:=20, Width:=300, Height:=40).TextFrame.TextRange
.Text = wsSheet.Cells(1, "A")
End With
The weird is that every 5 slides i get the type mismatch error. The best is that if i simply press F5 to continue the macro, it will continue flawlessly (for 5 more slides).