Loop Any Macro in Multiple Sheets in Same Workbook

Status
Not open for further replies.
Joined
Jan 11, 2024
Messages
19
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
Hi Everyone, I am using a macro in a single sheet of a workbook. If I want to use same macro in the other sheet of the same workbook then I have to use same macro again. Is there any loop method by which a macro can be run automatically in multiple sheets of the same workbook?
 
Hi again I want to remove the extra spaces between 2 rows in all the sheets of entire workbook. Some rows have extra spaces. Is there any vba macro for that?
 
Upvote 0

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
I see that you posted your question in a new thread, which is what you should do, since it is a new, different question.
So I will lock this question, as per rule 12 here: Message Board Rules, and leave the other one option.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,215,214
Messages
6,123,664
Members
449,114
Latest member
aides

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