Web Development

General discussion


Prtg fr Wrd 2M using VB Ed under Macros

By mikes ·
I have dev app to take data from scrn and print it into Word Document held in template. If I use the step thru debugger it works perfectly. When I run the applet it bombs with msg: WINWORD has generated errors & will be closed by Windows.

The code involved is:

<<load form>


SmallClaimsTemplate.Close SaveChanges:=wsDoNotSaveChanges

SmallClaimEntry.SmallClaimsTemplate.Close SaveChanges:=wsDoNotSaveChanges

Tasks("Microsoft Word").Close

Remember, it prints when stepping thru code. It does not when trying to 'run'

Please help

Thanks for you assistance

Mike Springer

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Related Discussions

Related Forums