![]() |
|
#13
|
|||
|
|||
|
Apologies. I don't check the actual printout statement as I don't want to waste reams of paper.
The help page for printout is here https://msdn.microsoft.com/en-us/VBA...ut-method-word I suspect the problem is that the pages parameter should be a variant but we are passing a string. Try changing to pages:=Cvar(my_form.txtPages) |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with Case and Select case | brent chadwick | Word VBA | 34 | 10-18-2015 02:13 PM |
| Replace & case | Jennifer Murphy | Word | 1 | 02-11-2013 03:26 AM |
A macro that can insert FILENAME, sendkeys CTRL ALT T, paste clipboard, and nextline
|
kyjac85 | Word VBA | 13 | 09-20-2012 05:00 PM |
| Problem with the sendkeys in Win7 | vidyapakki | Excel Programming | 1 | 05-07-2012 11:10 PM |
From all UPPER CASE to Proper Case
|
davers | Word | 1 | 04-30-2009 12:41 PM |