Fill Progressive Data

rterke

New Member
Joined
Jun 7, 2011
Messages
3
Hi
Can any one help me on my issue:

I have one workbook say BOOK1, which has 200 worksheets with identical form which has about 50 rows and 50 columns of data in it.

Now my first question is :
1. How can I change (fill) Data in first sheet lets Say cell A2 as 1, and then every other sheet (199) should be filled in with last number +1

i.e sheet-1 cell A2 = 1
sheet-2 cell A2 = 2
sheet-3 cell A2 = 3....and so on.

2. Same way I want to rename the sheet-1 to sheet-200 with some progressive number say 1,2,3,.......200 as there name, any short cuts for that.
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Code:
For i = 1 to Worksheets.Count
   Worksheets(i).Range("A2").Value = i
   Worksheets(i).Name = i
Next
 
Upvote 0
Thanks Wikgi, it worked and I was just wondering how simple code looks when u know it how to do.

Take Care thanks
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,756
Members
452,940
Latest member
rootytrip

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