J
John Davies
I have an automation program that changes the data in an existing PPT chart.
A simple example of my code is:
Set datasheet = sha.OLEFormat.object.Application.datasheet
For j = 1 To 4
datasheet.Cells(1, j + 1) = m_currentYear - (4 - j)
Next j
It works great. The problem comes when the double click on the chart to
bring up the data table. When they do that, the data reverts to what it
originally was when the file was first created.
Any idea how I can make this elephant forget?
Thanks,
John
A simple example of my code is:
Set datasheet = sha.OLEFormat.object.Application.datasheet
For j = 1 To 4
datasheet.Cells(1, j + 1) = m_currentYear - (4 - j)
Next j
It works great. The problem comes when the double click on the chart to
bring up the data table. When they do that, the data reverts to what it
originally was when the file was first created.
Any idea how I can make this elephant forget?
Thanks,
John