cSciFiChick
New Member
- Joined
- Jul 31, 2014
- Messages
- 42
I have posted this before but the marco did not do what I needed. I would be so grateful if someone would help me. I process reports at my work while they are all different meaning different numbers of columns and rows of data and number of tabs etc. They each need to have three things before I send them.
So I am fine if I can just get the top two things in a Macro that will set those for every tab in the workbook.
- The data needs to be scrolled to the top and the cursor needs to be in A1
- The margins needs to be set to Top: .25 Bottom: .25 Left: .17 Right: .22 Header: .3 Footer: .3
- And the Print Area must be set to only include the data on that table. Normally I just highlight the whole page and under Page Layout I use Print Area-Set Print Area I do this on each tab. I have been told that it impossible in a macro because not every tab or report is going to have the same area of data.
So I am fine if I can just get the top two things in a Macro that will set those for every tab in the workbook.