I have developed a very annoying problem...
For background, I am using Access to load and run Word and then run mailmerges in word using info from Access. For each merged document, I need to print one copy on headed paper, one copy on plain. This was working fine, and I had originally recorded a macro to print both copies, by changing the paper source property (FirstPageTray, OthersPageTray)
My Network administrator has changed the printer settings on the printer that I am using, so that now, instead of naming the tray, you name the paper type that you want (plain or LetterHead) and has now gone on holiday for two weeks.
The problem is that I can't change the paper type setting in VBA code from Word. I have tried recording a macro, but any changes to the paper type are ignored by the macro (presumably because they are printer settings for all applications, not just Word).
Can anyone give me any pointers as to how you change the printer properties from Access or Word VBA. Any help would be very much appreciated
For background, I am using Access to load and run Word and then run mailmerges in word using info from Access. For each merged document, I need to print one copy on headed paper, one copy on plain. This was working fine, and I had originally recorded a macro to print both copies, by changing the paper source property (FirstPageTray, OthersPageTray)
My Network administrator has changed the printer settings on the printer that I am using, so that now, instead of naming the tray, you name the paper type that you want (plain or LetterHead) and has now gone on holiday for two weeks.
The problem is that I can't change the paper type setting in VBA code from Word. I have tried recording a macro, but any changes to the paper type are ignored by the macro (presumably because they are printer settings for all applications, not just Word).
Can anyone give me any pointers as to how you change the printer properties from Access or Word VBA. Any help would be very much appreciated