Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
jim jim is offline
external usenet poster
 
Posts: 19
Default Not Enough Memory

I'm receiving a "Not Enough Memory" error box when closing
a form worksheet down and cannot understand why it is
doing it, or how to stop it.
The error comes up midway through the macro after I do a
vlookup. I switch to the sheet holding the lookup values
and close the form, then get the message. If you press OK
(the only option) then the sheet closes anyway, and the
macro continues to run. Here is the code for switching
and close the sheet:

Windows("DEBT MAN COMP " & todaydate & ".csv").Activate
ActiveWindow.Close False

Does anyone have any ideas on how to stop this happening?
Cheers

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Not Enough Memory

Are there controls on the sheet? If so, then try setting the zoom to 100%
under the view menu. If it already is at 100%, then I can't say.

--
Regards,
Tom Ogilvy

"Jim" wrote in message
...
I'm receiving a "Not Enough Memory" error box when closing
a form worksheet down and cannot understand why it is
doing it, or how to stop it.
The error comes up midway through the macro after I do a
vlookup. I switch to the sheet holding the lookup values
and close the form, then get the message. If you press OK
(the only option) then the sheet closes anyway, and the
macro continues to run. Here is the code for switching
and close the sheet:

Windows("DEBT MAN COMP " & todaydate & ".csv").Activate
ActiveWindow.Close False

Does anyone have any ideas on how to stop this happening?
Cheers



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
XL 2007 - Out of Memory - memory leak/bug? PCLIVE Excel Discussion (Misc queries) 0 March 23rd 09 03:31 PM
Out of Memory LAF Excel Discussion (Misc queries) 0 November 1st 05 07:59 PM
Not Enough Memory Adam Excel Discussion (Misc queries) 9 August 31st 05 12:35 PM
Vba Memory billy2willy Excel Discussion (Misc queries) 2 August 17th 05 12:13 AM
The instruction at "0x65255ac9" referenced memory at "0x00000008". The memory could not be read. Clikc OK to terminate etc Angus Comber[_2_] Excel Programming 1 November 7th 03 01:18 PM


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