srikandi2000
Member
Hi all,
I am trying to modify part of my macro and while i am trying to debug it using F8, at some line its start running. The macro it self is just a simple copy paste from excel to powerpoint (I am using early binding). Here is the part where the macro start running
(Right after the paste line)
[pre]
[/pre]
It was working fine before and I even can put breakpoint before the paste code.
I hope anyone can shed a light on this problem. Thank you in advance and sorry if I did not reply in short time.
Srikandi
PS. I've tried running the original code in break mode and the same thing happen as well.
I am trying to modify part of my macro and while i am trying to debug it using F8, at some line its start running. The macro it self is just a simple copy paste from excel to powerpoint (I am using early binding). Here is the part where the macro start running
(Right after the paste line)
[pre]
Code:
' ....
Sheets("5 Group").Select
ActiveSheet.ChartObjects(1).Activate
ActiveChart.ChartArea.Copy
cnt = cnt + 1
oPP.Slides.Add cnt, ppLayoutBlank
Set oPS = oPP.Slides(cnt)
oPS.Select
oPS.Shapes.Paste
Application.CutCopyMode = False
oPS.Shapes(oPS.Shapes.Count).Select
' ....
It was working fine before and I even can put breakpoint before the paste code.
I hope anyone can shed a light on this problem. Thank you in advance and sorry if I did not reply in short time.
Srikandi
PS. I've tried running the original code in break mode and the same thing happen as well.