how to debug.print in XP?

  • Thread starter Thread starter Mike Williams
  • Start date Start date
M

Mike Williams

with Windows XP (SP-1) and Office/Excel XP (Sp-2)

I'm a little confused. I've searched and read the threads I could find,
and I can't get debug.print to work. The line
MsgBox ActiveDocument.MailMerge.DataSource.QueryString
produces the info I want, but I can't do a copy/paste from a msgbox. The
line
Debug.Print ActiveDocument.MailMerge.DataSource.QueryString
doesn't seem to do anything at all.
Any tips would be greatly appreciated, and helping me figure out how to use
this tool may prevent my needing to post another stupid question later.
THANKS.
 
Hi Mike,

Debug.Print sends the result of the specified expression to the
Immediate window. Choose View/Immediate Window from the Visual Basic Editor
menu to bring it up prior to executing the code with the Debug.Print
statement. You will be able to copy the results from the Immediate Window.

--
Rob Bovey, MCSE, MCSD, Excel MVP
Application Professionals
http://www.appspro.com/

* Please post all replies to this newsgroup *
* I delete all unsolicited e-mail responses *
 

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

Back
Top