G
Guest
i have programmatically deleted 'CommandButton2' from my sheet using
ActiveSheet.Shapes("CommandButton2").delete
now when i open my workbook i get the following:
Can't exit design mode because Control 'CommandButton2' can not be created
i can't find any references to command button 2 in my code (on this sheet) -
what do i do? I do have other commandbutton2's on other sheets.
if i try to rename one of my controls to CommandButton2 i get a
Ambiguous name detected: CommandButton2
ActiveSheet.Shapes("CommandButton2").delete
now when i open my workbook i get the following:
Can't exit design mode because Control 'CommandButton2' can not be created
i can't find any references to command button 2 in my code (on this sheet) -
what do i do? I do have other commandbutton2's on other sheets.
if i try to rename one of my controls to CommandButton2 i get a
Ambiguous name detected: CommandButton2