Forum Discussion
helmi zulkifli
Jun 19, 2017Copper Contributor
Unhide macros
I have created and save a macro under the 'personal' workbook.. to my understanding, each time i open an excel file, i could execute the macro instantly.. BUT instead, i have to keep unhiding the macro each time i open a new excel file before i can use the macro.. is this normal? Is there a way where it's automatically available each time i open a new excel file?
16 Replies
Sort By
- Yury TokarevSteel Contributor
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
- sargana84ag1260Copper Contributor
I am new in macros. Please let me know how to un-hide macro for editing.
- NikolinoDEGold 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 zulkifliCopper 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..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 zulkifliCopper 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 TokarevSteel 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