Forum Discussion
Unhide macros
Hi Helmi,
could you please clarify what you do to unhide the macro? If you open a file, then go to Developer->Code->Macros, select either 'All Open Wookbooks' or 'PERSONAL.XLSB' in the "Macro in:" dropdown, can you see your macro listed in the 'Macro' window?
Thanks
Yury
- sargana84ag1260Sep 27, 2021Copper Contributor
I am new in macros. Please let me know how to un-hide macro for editing.
- NikolinoDESep 27, 2021Gold Contributor
Enable or disable macros in Office files
A macro is a series of commands that you can use to automate a repeated task, and can be run when you have to perform the task. This article has information about the risks involved when you work with macros, and you can learn about how to enable or disable macros in the Trust Center.
Warning: Never enable macros in an Office file unless you're sure what those macros do. Unexpected macros can pose a significant security risk. You don't have to enable macros to see or edit the file; only if you want the functionality provided by the macro.
To edit a macro that is attached to a Microsoft Excel workbook, you use the Visual Basic Editor.
Important: Before you can work with macros, you have to enable the Developer tab. For more information, see Show the Developer tab.
Hope I could help you with these information / links.
NikolinoDE
- helmi zulkifliJun 28, 2017Copper ContributorHi Yury ,
Yes i did go to the 'disabled items' but nothing listed there.. this is the problem im facing.. i mean im able to use the macro, just few steps i have to do which i mentioned earlier.. quite tedious..- Wyn HopkinsJun 28, 2017MVP
Hi Helmi
Do you have the Developer Ribbon showing in Excel?
Also try this:
Right Click on the Excel Ribbon (menu)
> Customise Quick Access Toolbar
> Popular Commands drop down
> Macros
Can you see PERSONAL.XLSB "your macro name"- helmi zulkifliJun 29, 2017Copper ContributorNo unfortunately im unable to..
- helmi zulkifliJun 28, 2017Copper ContributorHi Yury,each time i open a new file, i cant see my macro in the dropdown as you how you mentioned.. i have to unhide it..so to see my macro, i have to open my 'personal.xlsb' which i have created a shortcut on desktop.. then go to the new workbook which i want to work on -> go to 'View' -> click 'Unhide' -> then only my macro will show under the dropdown.. i have to these steps each time i want to use the macro..
- Yury TokarevJun 28, 2017Iron Contributor
Hi Helmi,
apart from what Wyn has mentioned, could you please double check if Personal.xlsb has been disabled by Excel. You can do it by going to Excel Options -> Add-ins->Select 'Disabled Items' in the 'Manage:' menu -> Go. If you can see Personal in the list, please enable it, then close the workbook, reopen again and check if you can now see your macros.
Yury
- helmi zulkifliJun 28, 2017Copper ContributorHi Yury ,
Yes i did go to the 'disabled items' but nothing listed there.. this is the problem im facing.. i mean im able to use the macro, just few steps i have to do which i mentioned earlier.. quite tedious..haha..
- Wyn HopkinsJun 28, 2017MVPHi Helmi,
Can you let us know what the macro does.
One option is to assign the macro to a Quick Access Toolbar button (or a keyboard shortcut). Then you can run it without opening the Personal Workbook.
Sorry to jump in on this Yury - I'm sure you'll forgive me ;)- helmi zulkifliJun 28, 2017Copper ContributorHi Wyn,
The macro is for me to save a set of steps which can be used with just a click of a button i assign for my future use.. so i dont have to keep going through the long steps each time i open a new workbook.. its a repitition of steps with a click of a button.. it saves me a lot of time..