Forum Discussion
RyeTo
May 14, 2021Copper Contributor
VBA Macro dosn't appear in new workbooks
Hello,
I recorded a simple macro and Stored it in the Personal Macro Workbook. When I tried to run it on another new file, the macro was not present? Any help would be appreciated.
Rye
6 Replies
Press Alt+F11 to activate the Visual Basic Editor.
Expand VBAProject (PERSONAL.XLSB) in the navigation pane on the left, then expand Modules (if present).
Double-click each of the items under the Modules heading.
Do you see the macro that you recorded?
- RyeToCopper ContributorHi Hans, hope you're well. Everyday I download .cvs file (each with a new random name), do some macro changes and save it as DATA.xlsm. This is what I've done:
download: xyz259712.cvs (everyday is a different name)
change tab name: Raw Data
save as: DATA.xlsm
record macro: name: DATA, Ctl+Shift+D, Store Macro in: Personal Macro Workbook
select entire sheet: sort A to Z
select columns A,F, and H, colour Yellow
select Row1, Bold
stop Recording
same file.
So now I wish to:
1. download and new random .cvs file
2. have the macro do the minor changes above
3. Update the DATA file.
Seems simple but have not been able to do it?
ThanksSince you want to be able to use the macro for multiple workbooks, you should store it in your personal macro workbook PERSONAL.XLSB.
See Copy your macros to a Personal Macro Workbook for instructions on how to do that.