Forum Discussion

RyeTo's avatar
RyeTo
Copper Contributor
May 14, 2021

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

  • RyeTo 

    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?

    • RyeTo's avatar
      RyeTo
      Copper Contributor
      Hi 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?
      Thanks

Resources