Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 117
Default worksheet_calculate code

I have a worksheet with a "woksheet_calculate" code in it. The worksheet has
a feed with numbers changing constantly, so the calculate code is constantly
being called. This code doesn't allow me to have other worksheets open
because it debugs when i click on another worksheet saying subscript out of
range because my calculate sheet is not active.

Is their a way around this problem so I can open other worksheets while my
calculating sheets runs its thing in the back ground?

thanks,

Jase
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ayo Ayo is offline
external usenet poster
 
Posts: 489
Default worksheet_calculate code

Try using ThisWorkbooks.Worksheets("").Range("D65536") instead of
Worksheets("").Range("D65536")


"Jase" wrote:

I have a worksheet with a "woksheet_calculate" code in it. The worksheet has
a feed with numbers changing constantly, so the calculate code is constantly
being called. This code doesn't allow me to have other worksheets open
because it debugs when i click on another worksheet saying subscript out of
range because my calculate sheet is not active.

Is their a way around this problem so I can open other worksheets while my
calculating sheets runs its thing in the back ground?

thanks,

Jase

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
Drop Down/List w/Code and Definition, only code entered when selec Spiritdancer Excel Worksheet Functions 2 November 2nd 07 03:57 AM
worksheet_calculate enyaw Excel Discussion (Misc queries) 2 January 26th 07 01:16 PM
worksheet_calculate enyaw Excel Discussion (Misc queries) 0 January 26th 07 08:14 AM
Infinite loop using Worksheet_Calculate Parker Excel Discussion (Misc queries) 2 November 3rd 06 12:25 PM
copying vba code to a standard code module 1vagrowr Excel Discussion (Misc queries) 2 November 23rd 05 04:00 PM


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