Automatic print area & Sort filter

Status
Not open for further replies.

Pisky

New Member
Joined
Jun 14, 2022
Messages
12
Office Version
  1. 2013
Platform
  1. Windows
Hi there,

I am wanting to have a VBA code that has a button I can press, which will automatically sort Column "A" to remove all blank lines,
then that also selects data from column A-K and down to the last row with data in it and prints that selection (These vary week to week with how much data is in the selection. One week could be 20 rows, the next 100)

I need this to happen for 7 different sheets all sorted and printed.

Is this something that can be done? I know I used to have a checklist with a VBA code that would change the dates and print off a each new page for the month with a click of a button.

Note** I cannot install XL2BB due to company restriction so have posted a screenshot.

1659563346252.png
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Status
Not open for further replies.

Forum statistics

Threads
1,215,334
Messages
6,124,323
Members
449,154
Latest member
pollardxlsm

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top