Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Object refereence not set to an instance of an object

Hi folks,

I have a reporting application that runs without error in Excel 2000
but under Excel 2007
when I close the workbook, the Workbook BeforeClose event fires and
runs as expected. I am then prompted to save the workbook (default
behaviour not coded)

However,

I then get the following error:

Object reference not set to an instance of an object

I cannot step through to the error as it it flashes up immediately
after the prompt to save and I do not believe any of my code is
running at this time

I have checked that all objects are set to Nothing

Any thoughts would be greartly appreciated

Cheers

Kieran

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
2 Label Options - Forms Object vs Control Box Object Awrex Excel Discussion (Misc queries) 3 July 17th 09 07:10 PM
why do I get this [object reference not set to an instance of an. experience4me Excel Discussion (Misc queries) 1 March 29th 07 04:40 PM
Using Object model to start an instance of excel on another computer? P Excel Programming 1 April 14th 06 09:34 PM
Confusion about how the Window object fits into the Excel object model Josh Sale Excel Programming 11 April 15th 05 06:08 PM
Get an object representing an existing Excel instance from Outlook R Avery Excel Programming 1 August 25th 04 11:16 PM


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