+ Reply to Thread
Results 1 to 5 of 5

Run time error 75 (Path/File Access Error) - Excel 2007 on XP SP3

  1. #1
    Forum Contributor Portuga's Avatar
    Join Date
    02-20-2004
    Location
    Portugal
    MS-Off Ver
    365
    Posts
    852

    Run time error 75 (Path/File Access Error) - Excel 2007 on XP SP3

    Hi

    Having a Run time error 75 (Path/File Access Error) on a sheet with a userform.
    I am running Excel 2007 on XP SP3

    I tried search and found this thread:
    http://www.excelforum.com/excel-prog...s-error-3.html

    I updated the SP3 and reinstalled Excel and the sheet keeps giving the same problem so I am wondering if itīs something to do with the code.

    The sheet works fine and the userform does exactly what I want it to do, but after a while if I leave it and return to it and I start the userform again I just get the error.

    When I click debug it goes to the second line of the following code:
    Please Login or Register  to view this content.
    When I right click "Show Object" on the userform it says Path not found.
    When I right click on "Show Code" on the userform I get the code.

    This has been happening frequently.
    Is there anything from the code that could be causing this?

    See attached the sheet. Itīs not a long piece of code.

    Thanks in advance.
    Attached Files Attached Files
    Last edited by alansidman; 04-28-2014 at 09:11 PM. Reason: code tags added
    If you found the solution to your question. Mark the thread as "Solved"
    Thank everyone that helped you with a valid solution by clicking on their

    There is no such thing as a problem, only a temporary lack of a solution

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Run time error 75 (Path/File Access Error) - Excel 2007 on XP SP3

    Hi,

    See the following thread that seems to have the same problem as you.
    https://groups.google.com/forum/#!to...ng/l1mBrxCyEnY

    Apparently their fix was never to unload and show a userform more than once, but to hide the userform when not in use. Sounds like an ugly fix to a system shortcoming to me.

    Lewis

  3. #3
    Forum Contributor Portuga's Avatar
    Join Date
    02-20-2004
    Location
    Portugal
    MS-Off Ver
    365
    Posts
    852

    Re: Run time error 75 (Path/File Access Error) - Excel 2007 on XP SP3

    Thanks for the thread. It is an ugly fix alright.

    I am using the unload code when resetting the userform and also when calling it from the macro prior to calculations because the form is referencing a cell on a sheet that might be changed.

    Is there any other way to quickly reset all textbox /combo boxes once the calculations are done?

    (Or a Solution to the actual problem)
    Last edited by Portuga; 04-28-2014 at 09:18 PM.

  4. #4
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Run time error 75 (Path/File Access Error) - Excel 2007 on XP SP3

    I just noticed the following which may be causing your problem. I don't think it's a good idea to try to access a UserForm after it has been unloaded. You may want to remove the 'Hide' command.
    Please Login or Register  to view this content.
    A similar construction is present in Macro1:
    Please Login or Register  to view this content.

    If that doesn't fix your problem, and my instinct says the problem will still persist, Try something like the following:
    Please Login or Register  to view this content.
    In Module 1:
    Please Login or Register  to view this content.
    The above code works in Excel 2003 which is all I have.

    Lewis

  5. #5
    Forum Contributor Portuga's Avatar
    Join Date
    02-20-2004
    Location
    Portugal
    MS-Off Ver
    365
    Posts
    852

    Re: Run time error 75 (Path/File Access Error) - Excel 2007 on XP SP3

    Thanks for taking the Time.

    I have now removed all the unload commands from the userform and am putting the UserForm1.TextBox1.Value = ""... directly in the Private Sub CommandButton2

    I need to test some variations of this code and see if it stops the crashing.
    From what I can gather this is an issue common only to the Excel 2007 + Win XP combo, so it seems to be a bug in the system.

    Iīll let you know if this workaround works.

    Thanks again

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Kill command & Path/File access error (Error 75)
    By bongaan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-06-2021, 08:21 PM
  2. [SOLVED] Run time error 75 (Path/File Access Error)
    By Riggers in forum Excel Programming / VBA / Macros
    Replies: 44
    Last Post: 03-05-2012, 04:51 PM
  3. Error 75 File/Path access error, sometimes Error 1004
    By smokebreak in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-16-2011, 02:35 PM
  4. Run-time error 75 Path/File access error
    By Casey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-09-2006, 02:20 PM
  5. Path/File access error (Error 75) using Name Statement
    By blayne in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-22-2005, 05:25 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1