Hi DZ_578,
I apologize for all the trouble it has caused and sorry about your time.
As per your description, I have tested form my side when I add “Comment Block “and “Uncomment Block” to VBA editor via
go to View>Toolbars>Customise>or right click on the tool bar and select Customise>under the Commands tab, I select the Edit menu on the left. Then approximately
two thirds of the way down there's two icons, Comment Block and Uncomment Block. Drag and drop these onto toolbar to easy access to highlight a block of code. However, when I closed Excel file and reopen again Excel file then I use
Alt+F11 shortcut key to open again VBA editor and added button are still there and it seem work fine form my side. See image below for your reference:
To move further, please try the following steps and see if it works for you.
- Make sure you’ve updated Office to the latest version that some issues can be resolved with such method.
- Try open your Excel insafe mode which allow you to safely use it when it has encountered certain problems.
- If still can’t work, please try torepair an Office application to fix the problem.
If the issue still persists, could you please provide some information for us to better understand.
- What’s your Excel version? Open Excel > File > Account > Production Information and share a screenshot of it. (Please mask your private information.)
- Does the issue happens on all files or a specific one?
I appreciate your patience and understanding.
Best Regards
Waqas Muhammad