Atholl
Active Member
- Joined
- May 19, 2002
- Messages
- 434
Hi All,
I have a custom toolbar associated with a workbook which works fine. If I want to modify it slightly by doing the alteration, deleting the currently attached toolbar and attaching the new modified one, this works fine until I save and reopen.
When I reopen, the changes have not been saved! If I repeat this process (modifying, etc.) and save again, it works. It seems I always have to make the modifications twice
By the way, I have a bit of code built in which deletes the custom toolbar from the application on exit (I don't know if this has anything to do with it):
Sub Workbook_BeforeClose(Cancel As Boolean)
Application.CommandBars("CPM_TOOL").Delete
End Sub
Any ideas to save me doing this all twice every time I make a small amendment?
Atholl
I have a custom toolbar associated with a workbook which works fine. If I want to modify it slightly by doing the alteration, deleting the currently attached toolbar and attaching the new modified one, this works fine until I save and reopen.
When I reopen, the changes have not been saved! If I repeat this process (modifying, etc.) and save again, it works. It seems I always have to make the modifications twice
By the way, I have a bit of code built in which deletes the custom toolbar from the application on exit (I don't know if this has anything to do with it):
Sub Workbook_BeforeClose(Cancel As Boolean)
Application.CommandBars("CPM_TOOL").Delete
End Sub
Any ideas to save me doing this all twice every time I make a small amendment?
Atholl