Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Error Number 57121

Hi All,

I have a problem with one computer that when a open one of my files on it
and run the macro in it it will come up with an error message that says
"Error Number 57121. Application-defined or Object-defined Error" though when
I open it on another computer it works fine. The Computer that I'm having
trouble with is using Office 2007 and my file was orginally made with Office
2003. The file was working on this computer until the begining of this week.

Any Answers would be greatly apprieciated

Jason
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,510
Default Error Number 57121

Hi Jason,

Have a look at the following site and see it it gives you a clue as to what
is occurring.

http://www.mrexcel.com/forum/showthread.php?t=24602

--
Regards,

OssieMac


"Jason Zischke" wrote:

Hi All,

I have a problem with one computer that when a open one of my files on it
and run the macro in it it will come up with an error message that says
"Error Number 57121. Application-defined or Object-defined Error" though when
I open it on another computer it works fine. The Computer that I'm having
trouble with is using Office 2007 and my file was orginally made with Office
2003. The file was working on this computer until the begining of this week.

Any Answers would be greatly apprieciated

Jason

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Error Number 57121

Would suggest to post your macro so that people here can try out and identify
the cause.

--
Jacob


"Jason Zischke" wrote:

Hi All,

I have a problem with one computer that when a open one of my files on it
and run the macro in it it will come up with an error message that says
"Error Number 57121. Application-defined or Object-defined Error" though when
I open it on another computer it works fine. The Computer that I'm having
trouble with is using Office 2007 and my file was orginally made with Office
2003. The file was working on this computer until the begining of this week.

Any Answers would be greatly apprieciated

Jason

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 147
Default Error Number 57121

Hi Jacob

The line of code that creates the error is:

ActiveWorkbook.Sheets("Temp").Cells(3, 3).ClearContents

Jason

"Jacob Skaria" wrote:

Would suggest to post your macro so that people here can try out and identify
the cause.

--
Jacob


"Jason Zischke" wrote:

Hi All,

I have a problem with one computer that when a open one of my files on it
and run the macro in it it will come up with an error message that says
"Error Number 57121. Application-defined or Object-defined Error" though when
I open it on another computer it works fine. The Computer that I'm having
trouble with is using Office 2007 and my file was orginally made with Office
2003. The file was working on this computer until the begining of this week.

Any Answers would be greatly apprieciated

Jason

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,510
Default Error Number 57121

Jason,

Is the code in a Workbook_Open event or Auto_Open sub?

--
Regards,

OssieMac


"Jason Zischke" wrote:

Hi Jacob

The line of code that creates the error is:

ActiveWorkbook.Sheets("Temp").Cells(3, 3).ClearContents

Jason

"Jacob Skaria" wrote:

Would suggest to post your macro so that people here can try out and identify
the cause.

--
Jacob


"Jason Zischke" wrote:

Hi All,

I have a problem with one computer that when a open one of my files on it
and run the macro in it it will come up with an error message that says
"Error Number 57121. Application-defined or Object-defined Error" though when
I open it on another computer it works fine. The Computer that I'm having
trouble with is using Office 2007 and my file was orginally made with Office
2003. The file was working on this computer until the begining of this week.

Any Answers would be greatly apprieciated

Jason



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 147
Default Error Number 57121

Hi OssieMac

Thanks for your help, you gave me my answer. I found that the activeX
controls had been disabled in excel and as soon as I re-enabled them my file
worked again on that computer.

Thanks

Jason

"OssieMac" wrote:

Hi Jason,

Have a look at the following site and see it it gives you a clue as to what
is occurring.

http://www.mrexcel.com/forum/showthread.php?t=24602

--
Regards,

OssieMac


"Jason Zischke" wrote:

Hi All,

I have a problem with one computer that when a open one of my files on it
and run the macro in it it will come up with an error message that says
"Error Number 57121. Application-defined or Object-defined Error" though when
I open it on another computer it works fine. The Computer that I'm having
trouble with is using Office 2007 and my file was orginally made with Office
2003. The file was working on this computer until the begining of this week.

Any Answers would be greatly apprieciated

Jason

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 57121 Dave Peterson Excel Discussion (Misc queries) 1 February 26th 08 10:51 AM
RunTime Error 57121 Mike H. Excel Programming 1 October 29th 07 05:18 PM
57121 error, but not a Mac in sight Bigj Excel Programming 0 September 20th 05 02:25 PM
###Error 57121### Jimmy Excel Programming 2 November 10th 04 02:00 PM
error 57121 toine Excel Programming 0 December 29th 03 10:10 PM


All times are GMT +1. The time now is 08:40 PM.

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

About Us

"It's about Microsoft Excel"