Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Msg box

Status
Not open for further replies.

vnk

IS-IT--Management
Nov 14, 2001
33
US
Hi

I am running a macro to modify lot of things in a document
and trying to find can I trap all the changes into
a Msgbox....
If so, how?

Thanks,
Vnk
 
Could you please clear what you are planning to do.

Good Luck
 
I have a script to format the existing word document, after
I run the VBA script few words have been deleted, few borders have been inserted in the document.

Now I want to capture the information into a msgbox or temp file. The information I am looking to see is,

"word" has been deleted "number_of_times" or something like this.

thanks.
 
i would suggest two approaches:

1) why not just let some (maybe global) counters increment every time such a change is made by/in the script? in the end you just go

msgbox trim(str(deletedcounter)) & " words were deleted and " & trim(str(bordercounter)) & " borders were changed"

2) Think about using the compare documents function of word...

regards
waldemar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top