Auto select print area and prints

Closed
man.jangra Posts 2 Registration date Sunday 15 June 2014 Status Member Last seen 15 June 2014 - 15 Jun 2014 à 09:46
man.jangra Posts 2 Registration date Sunday 15 June 2014 Status Member Last seen 15 June 2014 - 15 Jun 2014 à 10:52
can anybody explain the Macro for auto select print area and print with a Print button in any cell

i've a sheet with receipt. and i want to print random receipt. is there any way that i click on a print button and the mentioned receipt auto selects the print area and print.
Help me please.
Related:

2 responses

rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 766
15 Jun 2014 à 10:31
You can record a marco to do that. If you start marco recorder, do the set print area and print, and then stop the macro, this will give u a template to work from. You can then edit to to make it more generic to suit your need
man.jangra Posts 2 Registration date Sunday 15 June 2014 Status Member Last seen 15 June 2014
15 Jun 2014 à 10:52
thanks for your response.
let me try