G
Guest
Hy group
I've an object witch has to change during the procedure.
First I set the object oDataSheet to the following:
Set oDataSheet = shpGraphMagA.Application.DataSheet
later in the procedure, I want to set oDataSheet to another but it's not
working. I just tried like:
Set oDataSheet = shpGraphMagV.Application.DataSheet
(Note shpGraphMagA & shpGraphMagV are 2 graphs in PowerPoint, they are also
declared as object).
Perhaps I've to close first the oDataSheet, but I don't know how. I've tried
with oDataSheet.Close but offcourse it's not working...
Any solutions?
Thanks
I've an object witch has to change during the procedure.
First I set the object oDataSheet to the following:
Set oDataSheet = shpGraphMagA.Application.DataSheet
later in the procedure, I want to set oDataSheet to another but it's not
working. I just tried like:
Set oDataSheet = shpGraphMagV.Application.DataSheet
(Note shpGraphMagA & shpGraphMagV are 2 graphs in PowerPoint, they are also
declared as object).
Perhaps I've to close first the oDataSheet, but I don't know how. I've tried
with oDataSheet.Close but offcourse it's not working...
Any solutions?
Thanks