Macro to Format

cSciFiChick

New Member
Joined
Jul 31, 2014
Messages
42
So at my job before I send reports they have to be formatted a certain way. And it would be awesome if I had a Macros that when through all the tabs and formatted them for me so I don't have to do it on each tab.

First the data has to be scrolled all the way to the top and the cursor needs to be in A1. Then we need to sent the print area. So I click on the box in the upper left to highlight the whole sheet then I do Print Area > Set Print Area. The reports are in tons of different sizes so a standard size does not work it. Then the margins are a special which is like top .15 sides .22 etc dont know exact off the top of my head because I am not at work

So is there a Macro that could do all of this?
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
So is there a Macro that could do all of this?
Yes there is.
The best thing to do is record a macro for one of the sheets and then post that code here.
Then, hopefully, someone will come along & modify that code to do all the sheets.
 
Upvote 0

Forum statistics

Threads
1,215,356
Messages
6,124,475
Members
449,164
Latest member
Monchichi

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