Any ideas how to purge Personal.XLSB Workbook events so they fire?

Gobshite

New Member
Joined
Feb 8, 2021
Messages
10
Office Version
  1. 365
Platform
  1. Windows
None of my Personal.XLSB Workbook events fire
I have several VBA modules/routines in the same book that work fine
I'm on a network drive working from home and cant locate Personal.XLB
Any ideas how to purge Personal.XLSB Workbook events so they fire?
or any idea where i might find Personal.XLSB on a network drive?
or any method of making XL create a new one in a folder of my choice?
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
It is unlikely that your PERSONAL.XLSB macro workbook will be on a network drive. It will be on your PC's local drive.

If you press 'Alt-F8' in a worksheet, then if a PERSONAL.XLSB macro workbook exists, all it's macros should be listed.

Usually (but not always) the file is found here VBA.Environ("AppData") & "\Microsoft\Excel\XLSTART\"

This macro will check for that folder:
VBA Code:
Sub PersonalMacroWorkbookFileLocation()
    Dim XLStartFolder As String

    XLStartFolder = VBA.Environ("AppData") & "\Microsoft\Excel\XLSTART\"    
    With CreateObject("Scripting.FileSystemObject")
        If .FolderExists(XLStartFolder) Then
            Select Case MsgBox("Folder:" & vbCr & vbCr & XLStartFolder & vbCr & vbCr & "Open this folder?", vbYesNo, Application.Name)
                Case vbYes
                    VBA.Shell PathName:="C:\Windows\explorer.exe " & XLStartFolder, WindowStyle:=vbNormalFocus
                Case vbNo
            End Select
        Else
            MsgBox "Folder:" & vbCr & vbCr & XLStartFolder & vbCr & vbCr & "does not exist"
        End If
    End With
End Sub
 
Upvote 0

Forum statistics

Threads
1,215,166
Messages
6,123,395
Members
449,098
Latest member
ArturS75

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top