Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default excel applicaton closes showing complietime error not allowing to edit



I've got an excel application which on opening shows an message box
compiletime error 1004:application or object defined error when I click
ok the whole application is closed not allowing me to view the vba code
..It also closes other workbooks which are open .kindly suggest a soln.

*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
MaC MaC is offline
external usenet poster
 
Posts: 13
Default excel applicaton closes showing complietime error not allowing to edit

It can be caused by some special error interception expression, which works
just as you say - closing workbook if there is some error during workbook
loading.
I suggest to open application turning off macro and then check if there is
any special error section in Workbook_open() procedure.
Put comment character before lines of error section, then save and close
application. Open application again and try to see if debugger shows
incorrect part of code making problems.

Regards
Mario

Uzytkownik "divya sanam" napisal w wiadomosci
...


I've got an excel application which on opening shows an message box
compiletime error 1004:application or object defined error when I click
ok the whole application is closed not allowing me to view the vba code
.It also closes other workbooks which are open .kindly suggest a soln.

*** Sent via Developersdex http://www.developersdex.com ***



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
immediately closes when I try to open, error; can't save as, read Kris Excel Discussion (Misc queries) 0 August 3rd 08 04:05 PM
Allowing users to edit selected ranges only Lee D Excel Discussion (Misc queries) 1 January 5th 07 08:57 PM
Showing data table on a chart - How do I edit the info? Tony Law Charts and Charting in Excel 2 January 3rd 07 10:54 PM
To Protect Excel documents and allowing only few cells to edit DHANRAJ Excel Worksheet Functions 1 March 29th 06 03:18 PM
Autofilter - allowing for error Robert Christie[_3_] Excel Programming 4 February 16th 05 09:07 AM


All times are GMT +1. The time now is 02:04 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"