Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ben Ben is offline
external usenet poster
 
Posts: 509
Default How to force the immediate window in the VBE to clear

Hi all,

Is there a piece of code that can force the immediate window to clear out on
demand?

Thank you,

Ben


--

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default How to force the immediate window in the VBE to clear

I just CTRL A and delete it. Not elegant, but it works. Or did you want to
do it programmatically?
--
HTH,
Barb Reinhardt




"Ben" wrote:

Hi all,

Is there a piece of code that can force the immediate window to clear out on
demand?

Thank you,

Ben


--

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default How to force the immediate window in the VBE to clear

Sub ClearImmediateWindow()
Application.SendKeys "^g ^a {DEL}"
End Sub

--
__________________________________
HTH

Bob

"Ben" wrote in message
...
Hi all,

Is there a piece of code that can force the immediate window to clear out
on
demand?

Thank you,

Ben


--



  #4   Report Post  
Posted to microsoft.public.excel.programming
Ben Ben is offline
external usenet poster
 
Posts: 509
Default How to force the immediate window in the VBE to clear

yeah, I would like to do it programmatically.
Thanks,

Ben

--



"Barb Reinhardt" wrote:

I just CTRL A and delete it. Not elegant, but it works. Or did you want to
do it programmatically?
--
HTH,
Barb Reinhardt




"Ben" wrote:

Hi all,

Is there a piece of code that can force the immediate window to clear out on
demand?

Thank you,

Ben


--

  #5   Report Post  
Posted to microsoft.public.excel.programming
Ben Ben is offline
external usenet poster
 
Posts: 509
Default How to force the immediate window in the VBE to clear

Got it. Thank you Bob.

Ben

--



"Bob Phillips" wrote:

Sub ClearImmediateWindow()
Application.SendKeys "^g ^a {DEL}"
End Sub

--
__________________________________
HTH

Bob

"Ben" wrote in message
...
Hi all,

Is there a piece of code that can force the immediate window to clear out
on
demand?

Thank you,

Ben


--




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
How to clear Immediate Window programmatically within a procedure? joeu2004 Excel Programming 4 January 30th 08 10:25 AM
The window opens in a smaller window not full sized window. Rachael Excel Discussion (Misc queries) 0 November 7th 06 09:04 PM
Force linked spreadsheet to open in fullsized window? Patricia D Excel Discussion (Misc queries) 2 July 27th 06 04:56 AM
How do I force a hyperlink in a spreadsheet to open a new window? sq246 Excel Worksheet Functions 0 November 18th 04 10:53 PM
clear intermediate window automatically Steven Deng Excel Programming 13 November 1st 04 08:34 AM


All times are GMT +1. The time now is 10:18 AM.

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"