Morning All,
After many happy years running office 2000 its been decided that its time to move to office 2007. I now have the enjoyable task of going through all our workbooks ensure everything still work...
Some of the Excel 2000 workbooks have sheets that contain VBA Controls. These are linked directly to various macros. EG Sheet1.label1 = "example". This works great in 2000.
In excel 2007 I have replaced the controls with ActiveX controls. This works great until I close the workbook.
When the workbook opens the controls appear to be just shapes, rather than the activeX control. If I add new activeX controls the macros all work again. But each time the workbook closes the ActiveX/VBA type properties disappear.
Am I missing something obvious? Is there something I should be doing?
As an example, create a new "Macro-Enabled" workbook. Add an activex button control. Click it a few times and it behaves like a button should. Save the workbook, reopen it and try clicking it again. At this point I get nothing, its just a shape.
Any help would be appriciated as I've got lots of heavily marco'd books to update.
Thank you kindly
Christian
After many happy years running office 2000 its been decided that its time to move to office 2007. I now have the enjoyable task of going through all our workbooks ensure everything still work...
Some of the Excel 2000 workbooks have sheets that contain VBA Controls. These are linked directly to various macros. EG Sheet1.label1 = "example". This works great in 2000.
In excel 2007 I have replaced the controls with ActiveX controls. This works great until I close the workbook.
When the workbook opens the controls appear to be just shapes, rather than the activeX control. If I add new activeX controls the macros all work again. But each time the workbook closes the ActiveX/VBA type properties disappear.
Am I missing something obvious? Is there something I should be doing?
As an example, create a new "Macro-Enabled" workbook. Add an activex button control. Click it a few times and it behaves like a button should. Save the workbook, reopen it and try clicking it again. At this point I get nothing, its just a shape.
Any help would be appriciated as I've got lots of heavily marco'd books to update.
Thank you kindly
Christian