Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is your personal macro workbook located?

Tags:

excel

vba

I'm looking for the Excel file where my personal macro workbook is stored. Does anyone know where that file might be on a Windows 7 computer?

like image 798
Scott Ridings Avatar asked May 25 '17 14:05

Scott Ridings


3 Answers

Actually, I found the answer. You can find the file PERSONAL.XLSB by using the code below.

Sub Find_Personal_Macro_Workbook()

    Dim path As String

    path = Application.StartupPath

    MsgBox path

End Sub

Hidden items will need to be selected in your file explorer to see where this is.

Hope this helps anyone who needs to find this file.

like image 103
Scott Ridings Avatar answered Nov 10 '22 12:11

Scott Ridings


In this folder: C:\Users\YourUser\AppData\Roaming\Microsoft\Excel\XLSTART

(Hidden Items needs to be selected in your files explorer)

If you don't have a Roaming folder use the Local folder. Rest of the path should be the same.

like image 19
Aisah Avatar answered Nov 10 '22 14:11

Aisah


Follow the following steps: 1. Open Excel 2. Unhide Personal Workbook from View->Unhide 3. Press F12 to locate the path of the workbook.

like image 1
Bhanu Sinha Avatar answered Nov 10 '22 13:11

Bhanu Sinha