How to copy an ActiveX control over to another sheet preventing the name change of the control
问题 I am using the code below to copy a command button from one sheet and paste it into another: Sheets("SRC").HasACustomName.Copy Sheets("TRGT").Range("O1").PasteSpecial When I paste it, it get's renamed from HasACustomName to CommandButton1 . Can I either copy/paste it in a way that retains the name or change the name after pasting? 回答1: ActiveX You can copy an ActiveX Control from one sheet to another with the below code. Note: you cannot have two objects of the same name on one spreadsheet.