ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Object doesn't support this property or method (https://www.excelbanter.com/excel-programming/388663-object-doesnt-support-property-method.html)

clara

Object doesn't support this property or method
 
Hi all,

Here is a weird message box, the title is Microsoft Excel and message is
"Object doesn't support this property or method", but it doesn't tell us
which object , which property , or where the problem happened and the
application can go on?

Clara
--
thank you so much for your help

Otto Moehrbach

Object doesn't support this property or method
 
Clara
When you get an error message like that, it will be displayed in a box.
At the bottom of this box is a button that is labeled "Debug". Click on
that button. That will take you to the VBA code and the offending line of
code will be highlighted. If that doesn't help you much, post back and
include some or all of your code and tell us what line was highlighted. HTH
Otto
"clara" wrote in message
...
Hi all,

Here is a weird message box, the title is Microsoft Excel and message is
"Object doesn't support this property or method", but it doesn't tell us
which object , which property , or where the problem happened and the
application can go on?

Clara
--
thank you so much for your help




JE McGimpsey

Object doesn't support this property or method
 
What's on the line of code that's highlighted after you click Debug?

In article ,
clara wrote:

Hi all,

Here is a weird message box, the title is Microsoft Excel and message is
"Object doesn't support this property or method", but it doesn't tell us
which object , which property , or where the problem happened and the
application can go on?

Clara


Ed

Object doesn't support this property or method
 
Is there a Debug button on the message box? What happens if you click
it?

If not, where is the code coming from? What is it trying to do?

Was the program written in-house? Or is it a commercial program?

Ed

On May 3, 7:16 am, clara wrote:
Hi all,

Here is a weird message box, the title is Microsoft Excel and message is
"Object doesn't support this property or method", but it doesn't tell us
which object , which property , or where the problem happened and the
application can go on?

Clara
--
thank you so much for your help




Vergel Adriano

Object doesn't support this property or method
 
Perhaps it's coming from an error handler that pops a message box showing the
error description.. In the VBE, go to Tools-Options. Then, in the General
tab, select "Break on All Errors" as the Error Trapping option. Try to
reproduce the problem and it should stop and take you to the line where the
error occurs.


--
Hope that helps.

Vergel Adriano


"clara" wrote:

Hi all,

Here is a weird message box, the title is Microsoft Excel and message is
"Object doesn't support this property or method", but it doesn't tell us
which object , which property , or where the problem happened and the
application can go on?

Clara
--
thank you so much for your help


clara

Object doesn't support this property or method
 
Thank you very much. I think I find the reason.
First, there is ActiveX control button on a worksheet, I delet it and add a
new one. But I did not delete every occurance of the old button which is
scatter all around. The strang point is the VBE should stop the application
runnign instead of just give out a messagebox.

Thank you again

Clara
--
thank you so much for your help


"clara" wrote:

Hi all,

Here is a weird message box, the title is Microsoft Excel and message is
"Object doesn't support this property or method", but it doesn't tell us
which object , which property , or where the problem happened and the
application can go on?

Clara
--
thank you so much for your help



All times are GMT +1. The time now is 07:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com