Get contents of Immediate window?

E

Ed

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
 
W

Word Heretic

G'day "Ed" <[email protected]>,

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:
 
W

Word Heretic

G'day "Jezebel" <[email protected]>,

And Mark Tangard thought he was being bonkers :)

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

steve from wordheretic.com (Email replies require payment)


Jezebel reckoned:
 
E

Ed

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
 
W

Word Heretic

G'day "Ed" <[email protected]>,

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:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top