AlanAnderson
Board Regular
- Joined
- Jun 7, 2010
- Messages
- 134
Hi,
On ocasion I am getting the above error. It does NOT occur during the actual running of the programme but seems to randomly occur while I have the VBA open. It often occurs even when I've left machine unattended for hours. The warning message appears with a Help and a OK button. If one presses OK repeatedly it eventually shows following different message. "MS Visual Basic. System Error &H8000FFFF (-2147418113)
Only way out of this is Cntrl Alt Del
VBA help indicates it is a problem related to "Open", "RmDir", "MkDir", "ChDir".
Problem is the only one of these commands used is :
and
These are used when starting up system. If there was a fault here I surely wouldn't even have been able to load up programme.
Only other place open used is in the following routine which is only called by selecting it from a menu and I have not been near that option for months.
As this only seems to happen whilst in VBA is this something I can just live with or could this turn into a problem when being run by clients?
Regards,
Alan
On ocasion I am getting the above error. It does NOT occur during the actual running of the programme but seems to randomly occur while I have the VBA open. It often occurs even when I've left machine unattended for hours. The warning message appears with a Help and a OK button. If one presses OK repeatedly it eventually shows following different message. "MS Visual Basic. System Error &H8000FFFF (-2147418113)
Only way out of this is Cntrl Alt Del
VBA help indicates it is a problem related to "Open", "RmDir", "MkDir", "ChDir".
Problem is the only one of these commands used is :
Code:
sWb = Application.GetOpenFilename(sFil, iFilterIndex, sTitle)
Code:
Workbooks.Open FileName:=sWb
Only other place open used is in the following routine which is only called by selecting it from a menu and I have not been near that option for months.
Code:
Application.Workbooks.Open (FullName)
As this only seems to happen whilst in VBA is this something I can just live with or could this turn into a problem when being run by clients?
Regards,
Alan