Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
- Is there a way to open and close the Immediate window from VBA? - Is there a way to clear the Immediate window from VBA? TIA, |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If you are just trying to make it appear and re-appear you can either go to
view in the menu bar and select immediate window or use shortcut key ctrl+g. To clear it just highlight everything and hit delete. Charlotte E. wrote: Hello, - Is there a way to open and close the Immediate window from VBA? - Is there a way to clear the Immediate window from VBA? TIA, -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...mming/200808/1 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
CTRL + G opens the window, you can close it by clicking the x in its window.
Or go to the menu - View - Immediate window. To delete (clear) click inside window push CTRL + A Then push delete. CTRL + A just selects all the text. Make sure you've put your cursor in the actual window though. "Charlotte E." wrote: Hello, - Is there a way to open and close the Immediate window from VBA? - Is there a way to clear the Immediate window from VBA? TIA, |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Sub OpenImmediateWindow() Application.SendKeys "^g" End Sub Sub ClearImmediateWindow() Application.SendKeys "^g ^a {DEL}" End Sub -- __________________________________ HTH Bob "Charlotte E." wrote in message ... Hello, - Is there a way to open and close the Immediate window from VBA? - Is there a way to clear the Immediate window from VBA? TIA, |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Bingo! :-)
Just needed to be preceeded with: Application.VBE.MainWindow.Visible = True Application.VBE.MainWindow.SetFocus Thanks :-) "Bob Phillips" skrev i en meddelelse ... Sub OpenImmediateWindow() Application.SendKeys "^g" End Sub Sub ClearImmediateWindow() Application.SendKeys "^g ^a {DEL}" End Sub -- __________________________________ HTH Bob "Charlotte E." wrote in message ... Hello, - Is there a way to open and close the Immediate window from VBA? - Is there a way to clear the Immediate window from VBA? TIA, |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to save a desired window size but hv window comeup fullsz by d | Excel Discussion (Misc queries) | |||
View cell contents as a pop-up window (similar to comments window) | Excel Worksheet Functions | |||
Docking Project Explorer, Properties window and Code window in VBE | Setting up and Configuration of Excel | |||
Duplicated code window and userform window problem | Excel Programming | |||
The window opens in a smaller window not full sized window. | Excel Discussion (Misc queries) |