General discussion

Locked

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.PrintOut

SmallClaimsTemplate.Close SaveChanges:=wsDoNotSaveChanges

SmallClaimEntry.SmallClaimForm.hide
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
630-202-2921

This conversation is currently closed to new comments.

0 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Back to Web Development Forum
0 total posts (Page 1 of 1)  

Related Discussions

Related Forums