Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 50
Default Restore Excel Application Window after proccesing ...

Hello gurus !

I have interesting question for you (and it is equal to my current nightmare
:-).

I'm oppening Lotus Notes PickList window from Excel VBA, check next code
lines:

Application.WindowState = xlMinimized
Set Collection = workspace.PickListCollection(3, True, MyServer,
MyDbName, MyView, MyTitle, MyPrompt)

My problem is, that I'm not able to restore (better say to put to
foreground) Excel after Lotus Notes PickList window is closed.
Could you please help me, how to return focus back to Excel ?

Thank you all in advance !

Vlado Sveda
  #2   Report Post  
Posted to microsoft.public.excel.programming
JNW JNW is offline
external usenet poster
 
Posts: 480
Default Restore Excel Application Window after proccesing ...

place the following line when you want excel to appear again

application.windowstate = xlmaximized
'can use xlnormal if you don't want the window maximized

I hope it is that easy!
--
JNW


"Vlado Sveda" wrote:

Hello gurus !

I have interesting question for you (and it is equal to my current nightmare
:-).

I'm oppening Lotus Notes PickList window from Excel VBA, check next code
lines:

Application.WindowState = xlMinimized
Set Collection = workspace.PickListCollection(3, True, MyServer,
MyDbName, MyView, MyTitle, MyPrompt)

My problem is, that I'm not able to restore (better say to put to
foreground) Excel after Lotus Notes PickList window is closed.
Could you please help me, how to return focus back to Excel ?

Thank you all in advance !

Vlado Sveda

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
Excel 2003, function window has gone. how can I restore Stocky uk Excel Discussion (Misc queries) 2 August 12th 07 01:44 AM
How do I open a new window for each excel application? Kris New Users to Excel 2 February 21st 06 09:59 PM
How to set Excel to open a new window for each application Luke Excel Discussion (Misc queries) 1 September 28th 05 11:50 PM
How do I restore the cell content window on my toobar? hutchc Excel Discussion (Misc queries) 2 September 10th 05 12:42 PM
How do I set up Excel to open a new instance/application window w. DK9144 Excel Discussion (Misc queries) 1 February 21st 05 04:34 PM


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