|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
need help in mail merge
Hello,
I'm using the VB automation to print the mailing labels using the MS word label standard. Here is my question. While printing the Label Using the Print dialog box when I click Ok button everything works fine. But suppose if I Press Cancel button I'm getting error at the execute statement, Its saying something like this "Microsoft Word - Command Failed -4198" in my vb form. Any body know about this error? How to cancel the print without any error or anything. Looking forward for any suggestion Thanks in advance Regards rechen |
|
#2
|
|||
|
|||
|
I suppose your cancel button click code doesn't stop the printing properly.
|
|
#3
|
|||
|
|||
|
Thanks for the reply. Now I am capturing this error and closing everything properly
Now I have another question. IS there any way to preview the mailing label in vb without opening the MS word. Regards Rema |
|
#4
|
|||
|
|||
|
How to preview when will print??U can visit www.freevbcode.com to search some knowledge and sample code or see this page:http://www.freevbcode.com/ShowCode.Asp?ID=2428
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > need help in mail merge |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|