Need macro to set duplex option

  • Thread starter Thread starter Will Fleenor
  • Start date Start date
W

Will Fleenor

I have a printer with a duplex option and I need to have the option work on
workbooks with multiple worksheets. Using the group feature and selecting
the duplex option doesn't work because each worksheet must have the duplex
option turned on before selecting the group feature in order for the
duplexing option to work. And, when the duplex option is selected, it turns
off whenever a different printer is selected for any other open workbook.
The duplexing option will save properly, but when a workbook with the
duplexing option saved to it is opened and any other printer is selected for
any other open workbook, the duplexing option is turned off for all
worksheets for open all workbooks using the duplexing option.

My intended solution was to create a macro to turn the duplexing option on
quickly. However, when I've tried this, the macro changes all the available
print options that Excel knows about and doesn't turn the duplexing option
on.

Is there any way that you're aware of to use a macro for this problem? If
not, do you know of anything else that might help?

I admit that I have very limited VBA programming skills. I am an accountant
by trade and use Excel extensively. I appreciate your help on this and
appologize for my lack of programming skill.

Will Fleenor

(e-mail address removed)
 
I fugured it out.
SendKeys "%fp%r{TAB}{TAB}{+}~~", True



Thanks, Will
 
Thanks, this is a better solution than the macro I came up with.
Thanks, Will
 
This didn't help me. I have a HP LaserJet 2200d which has the duplex
function. Can you explain what this command does? When I inserted it into my
macro, I got an error message.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top