Path File error .. runtime 75

palaeontology

Active Member
Joined
May 12, 2017
Messages
444
Office Version
  1. 2016
Platform
  1. Windows
I have a file called .,... Greedy Pig Game - Copy - Copy

Each time I try to open it, I get the following error messages ..

path file error.JPG


on pressing 'OK', I get the following error message ..

runtime error.JPG


Whether I press either of the options ... 'End' or 'Debug' ... I get the hourglass and excel hangs there (not responding) for hours, if I let it.

It contains a single Userform, and was opening and closing perfectly fine until I added a UserForm open event, that opened the userform on entering the file.

This is what I used ... I entered it into the 'ThisWorkbook' section of the VBA editor

VBA Code:
Private Sub Workbook_Open()

UserForm1.Show

End Sub

Since adding this, it's been failing to open, due to the above-mentioned error messages and the permanent hang-time.

I can't even get back in to remove the Userform1.show event to see if that was the cause.

Here is an image of my VBA Project ..

excel query 1.JPG


It's a very simple userform, containing just 2 command buttons, and a text box.

Can anyone tell me what I can do from here ?

Is there any other information I can provide you to help determine my next move ?

Kind regards,

Chris
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Open the file in safe mode, to prevent macros from running.
 
Upvote 0
I've never opened a file in safe mode before, so i googled it and it suggests I hold ctrl and double click the file.

I've tried that, and a few other combinations, but none have opened the file in safe mode.

Is there something else I should be doing ?

Kind regards,

Chris
 
Upvote 0
You need to close Excel, then press Ctrl & double click the Excel icon, not a file. Keep the CTrl pressed until a message box appears.
 
Upvote 0

Forum statistics

Threads
1,215,059
Messages
6,122,918
Members
449,093
Latest member
dbomb1414

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