ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Run time error'-2147352573 (https://www.excelbanter.com/excel-discussion-misc-queries/159324-run-time-error-2147352573-a.html)

AOU

Run time error'-2147352573
 
Hi,
When ever I open my excel file I get a error message when I press one of the
commandButtons.
Run Time Error'-2147352573 (80020003)':
Could not find the specified object.
Any ideas????
--
AOU

joel

Run time error'-2147352573
 
It look like you have a macro in your code. Because there is an On Error
statement(s) in the code it not giving you any clue to where the problem is.
I hate On Error statements just for this reason.

The best solution is to comment the On Error statement by place a singgle
Apostrophe in fron of the statement so you can find the problem

Make a copy of the Workbook and make these changes in the copy. following
these steps.
1) Go to VBA window. Easiestway is to right click on tb at bottom of the
worksheet (normally sheet1) and select view code.
2) Open Project Explorer by View Menu in VBA.
3) Look for all macros
Double n each sheet in the Project Explorer
Open Module(+) and check for macros in modules
4) Find all On Error statements and place single Apostrophe at the beginning
of the line
5) Go ack to your spreadsheet and execute the Command Button. It should now
stop on the instruction that is causing the problem and highlight the VBA
line (in yellow) where the problem is located.

If you can't figure the problem out yourself, copy the macro to this website
and post on the Excel Programming Page. Or you can respond to this
postingwill look at the problem.

"AOU" wrote:

Hi,
When ever I open my excel file I get a error message when I press one of the
commandButtons.
Run Time Error'-2147352573 (80020003)':
Could not find the specified object.
Any ideas????
--
AOU


AOU

Run time error'-2147352573
 
Thanks Joel,
Luckly it was the first one I tried.
--
AOU


"Joel" wrote:

It look like you have a macro in your code. Because there is an On Error
statement(s) in the code it not giving you any clue to where the problem is.
I hate On Error statements just for this reason.

The best solution is to comment the On Error statement by place a singgle
Apostrophe in fron of the statement so you can find the problem

Make a copy of the Workbook and make these changes in the copy. following
these steps.
1) Go to VBA window. Easiestway is to right click on tb at bottom of the
worksheet (normally sheet1) and select view code.
2) Open Project Explorer by View Menu in VBA.
3) Look for all macros
Double n each sheet in the Project Explorer
Open Module(+) and check for macros in modules
4) Find all On Error statements and place single Apostrophe at the beginning
of the line
5) Go ack to your spreadsheet and execute the Command Button. It should now
stop on the instruction that is causing the problem and highlight the VBA
line (in yellow) where the problem is located.

If you can't figure the problem out yourself, copy the macro to this website
and post on the Excel Programming Page. Or you can respond to this
postingwill look at the problem.

"AOU" wrote:

Hi,
When ever I open my excel file I get a error message when I press one of the
commandButtons.
Run Time Error'-2147352573 (80020003)':
Could not find the specified object.
Any ideas????
--
AOU



All times are GMT +1. The time now is 02:29 PM.

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