Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

excel vba double sided

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Excel VBA double sided printing

Excel VBA double sided printing

ResolvedVersion 2010

Ida has attended:
Excel Intermediate course
Excel Advanced course
Excel VBA Intermediate course
Excel VBA Introduction course

Excel VBA double sided printing

HI,

How do i set a double sided printing via VBA? my default on my printer preferences is already double sided, but when my file is opened by another then goes back to me, and i print using vba as well-- it will print on just one side.

Thanks!

RE: Excel VBA double sided printing

Hi Ida,

Thank you for the forum question.

I have come across this question before. I checked online and unfortunately the printer options for duplex etc. are not set by Excel they fall outside of VBA'a control.

There might be a way to do accessing the printer's API but it would be fairly complicated, and would depend if the printer manufacturer has published the controls.

Sorry I couldn't be of more help on this occasion.
.
Please see link below.

https://www.ozgrid.com/forum/forum/help-forums/excel-general/37596-print-double-sided


Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

RE: Excel VBA double sided printing

Hi Ida,


It can be coded in other languages (C#, C++, F#, and VB)

https://msdn.microsoft.com/en-us/library/microsoft.visualbasic.powerpacks.printing.compatibility.vb6.printer.duplex.aspx?cs-save-lang=1& ;cs-lang=csharp#code-snippet-1

Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Thu 27 Sep 2018: Automatically marked as resolved.

 

Training courses

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Excel tip:

Create a hyperlink navigation sheet

In large files, it is often useful to have a front sheet with hyperlinks to the key databases and summary calculations in your spreadsheet. Hyperlinks can save you and (more importantly) those less familiar with your spreadsheet a great deal of pointless scrolling between and within sheets.



Hyperlinks appear as underlined text and can jump to any cell or range name in your file. You can also use hyperlinks to jump to other files.



To create a hyperlink to a location in the active workbook: (1) Select the cell that contains the text you want to use as the hyperlink and choose Insert|Hyperlink.(2)Click Place in this document.(3)Choose the sheet you want to link to or the range name from the list of "Defined Names".(4)If necessary, type the cell reference in the Type in the cell reference box. (5) Click OK.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.