VBA: Manipulate Workbook Object?

M

Minh

Hello!

I have a workbook object embedded in slides 3 through 5 of a PP. Could
someone please provide me with some code to automatially update the first
cell of the first worksheet of each of the workbooks in each of the slides?
I just need to update the date in the first cell (A1) to the current date.
Each slide only has a textbox and the workbook object. I appreciate the help!

Minh
 
M

Minh

Nevermind. I figured it out.

My code was:

With ActivePresentation.Slides(i).Shapes(2).OLEFormat

It should have been:

With ActivePresentation.Slides(i).Shapes(2).OLEFormat.Object

Thanks!
Minh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top