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

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Status
Not open for further replies.

Forum statistics

Threads
1,214,606
Messages
6,120,484
Members
448,967
Latest member
visheshkotha

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