Re: Get contents of Immediate window?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Word Heretic (myfullname_at_tpg.com.au)
Date: 02/26/04


Date: Fri, 27 Feb 2004 09:40:48 +1100

G'day "Ed" <ed_millis@removethis.hotmail.com>,

If you want to do it the really full on way:

Use COMPILER VARIABLES

Each debug step prefix with

#IF DEBUG=1 then
  Debug.Print

and

#IF DEBUG=2 then

DebugDoc.Insertafter

that sorta thing.

Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)

Ed reckoned:

>Thank you, Steve. I just now discovered how to use this to see things in
>action (a bit behind the times, I know!), and thought it might be useful to
>be able to print out this sequence of actions if I've had problems to help
>pinpoint a problem (loose nut on the keyboard??).
>
>Ed
>
>"Word Heretic" <myfullname@tpg.com.au> wrote in message
>news:sa9r30luei6u1am7i0gj1ml2dfkjcikn2d@4ax.com...
>> G'day "Ed" <ed_millis@removethis.hotmail.com>,
>>
>> Dont debug print them, open a new doc and print to there instead.
>> Manually, you can cuttenpaste of course.
>>
>>
>> Steve Hudson - Word Heretic
>> Want a hyperlinked index? S/W R&D? See WordHeretic.com
>>
>> steve from wordheretic.com (Email replies require payment)
>>
>>
>> Ed reckoned:
>>
>> >After I've used the Debug.Print to put things into the Immediate window,
>is
>> >there a way to get the entire contents of the Immediate window to either
>> >display in a message box or print to a document?
>> >
>> >Ed
>> >
>>
>



Relevant Pages