3 very simple macros needed

Kim B

Board Regular
Joined
Jun 16, 2008
Messages
221
Office Version
  1. 365
:confused:



Hi all. I know similiar requests have been made. I have tried to adapt the results to what I am trying to do and have had no luck so here goes.

I need a macro that will:

1. autofit all cells in 38 worksheets
2. copy the previous row without looking up or deleting or inserting. Just a simple copy previous row of values and formulas down one (to the next row empty or not)
3. Hide columns with headings hide in the first cell of the column.

Remember, I have 38 worsheets in the same workbook that it has to cycle thru. 4 of those are pivots, so no need to include those.

Thanks in advance.
 
Not sure if I missed a post regarding the pivot tables macro not working. Do you know if you responded?

Thanks
 
Upvote 0

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Not sure if I missed a post regarding the pivot tables macro not working. Do you know if you responded?

Sorry, I didn't get a chance on that; I've been in meetings for the past two days and I'm spending today catching up. You may want to repost that portion, so everyone can take another look.
 
Upvote 0
That's ok. I will wait. Just didn't want to miss any responses. We have been going back and forth quite a bit and I wasn't sure. I would rather stick with you. Your solutions work and I don't get the run around.
 
Upvote 0

Forum statistics

Threads
1,214,929
Messages
6,122,314
Members
449,081
Latest member
tanurai

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