Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default changing sheet in window without activating it

Hi there!
I'm trying to write a code that changes the active sheet in specified
window. The only way that i can do it is, as I think, the sipmliest,
just like that:

sub change_sheet()
set myWindow = ActiveWindow
Windows("DesiredWindow").Activate
Sheets("DesiredSheet").Activate
myWindow.Activate
end sub

I wonder if there's a way to avoid changing windows and simply change
the sheet in the desired window to avoid "blinking" of windows. And i'm
not thinking about setting "screenupdating" property to "false". I
thought that Windows("DesiredWindow").Sheets("DesiredSheet").Ac tivate
or something like that should work but it isn't.

Thanks in advance

rumi

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
Grabbing data from diff window w/o activating it McManCSU[_28_] Excel Programming 1 August 18th 05 08:44 PM
Error on activating a window a open workbook Hari[_3_] Excel Programming 1 June 11th 04 12:58 AM
De-Activating the menu option, Window - Unfreeze Mario[_6_] Excel Programming 0 January 12th 04 06:57 PM
How to hide Excel window when activating a Shape object Yi[_2_] Excel Programming 4 October 8th 03 02:36 PM
How to hide Excel window when activating a Shape object Bob Kilmer Excel Programming 0 September 27th 03 03:51 PM


All times are GMT +1. The time now is 03:55 PM.

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"