Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default runtime error 75 when I run the application for second time

Hello.

I have a worksheet in which I have a button which call the foll macro
Private Sub cmdCases_Click()
Load frmCases
frmCases.Show vbModal
End Sub

When I open the worksheet for the first time, everything
works fine. However, when I exit the above code, and
then reopen the worksheet, I get the following VB errors:


"Path/File Access Error", and
"Run-Time Error 75, Cannot find the specified object"


When I hit the DEBUG button, the "Load frmcases" is
highlighted (see code, above).

can anybody help


Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default runtime error 75 when I run the application for second time

You should unload frmCases to load it again.
May be, you only hide it, but not unload?


"divya" wrote:

Hello.

I have a worksheet in which I have a button which call the foll macro
Private Sub cmdCases_Click()
Load frmCases
frmCases.Show vbModal
End Sub

When I open the worksheet for the first time, everything
works fine. However, when I exit the above code, and
then reopen the worksheet, I get the following VB errors:


"Path/File Access Error", and
"Run-Time Error 75, Cannot find the specified object"


When I hit the DEBUG button, the "Load frmcases" is
highlighted (see code, above).

can anybody help


Thanks!


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default runtime error 75 when I run the application for second time

hii,
This is the application which worked fines since so many years and
was used extensively by every body here .Now a days it gives this eroor
sometimes Runtime 75 and sometimes 1004, few Machines it works fine and
few machines it doesn't.it shows different behaviour on different
machines gives different error on different machinesi"m working on it
with what u said <but i don"t want to meddle with the code , thnx for
ure help.will let u know .

Regards
Divya
Irina wrote:
You should unload frmCases to load it again.
May be, you only hide it, but not unload?


"divya" wrote:

Hello.

I have a worksheet in which I have a button which call the foll macro
Private Sub cmdCases_Click()
Load frmCases
frmCases.Show vbModal
End Sub

When I open the worksheet for the first time, everything
works fine. However, when I exit the above code, and
then reopen the worksheet, I get the following VB errors:


"Path/File Access Error", and
"Run-Time Error 75, Cannot find the specified object"


When I hit the DEBUG button, the "Load frmcases" is
highlighted (see code, above).

can anybody help


Thanks!
Hii




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Runtime Error 1004: Application defined or object defined error Access n00b Excel Programming 2 April 5th 06 02:58 AM
Runtime error 1004- application defined or object defined error Novice Excel Programming 11 February 6th 06 11:02 PM
Runtime error 1004- application defined or object defined error Jim Thomlinson[_5_] Excel Programming 0 February 6th 06 09:33 PM
Runtime error 1004- application defined or object defined erro Novice Excel Programming 1 February 6th 06 09:33 PM
Runtime Error 1004 -- Application Defined or Object Defined Error John[_51_] Excel Programming 3 September 4th 03 04:28 PM


All times are GMT +1. The time now is 12:32 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"