A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Thank you for posting your question in the Microsoft Q&A forum.
From your description, you would like to duplicate sheet S1 multiple times and rename each copy sequentially. This requirement is possible in Excel; however, it cannot be achieved in a single step using the standard user interface. You would need to duplicate the sheet manually or use a VBA (macro) approach to automate the process.
Please follow the steps below:
- Open your Excel file.
- Press Alt + F11 (or Fn + Alt + F11) to open the VBA Editor.
- In the VBA Editor, go to Insert > Module.
- In the module window, paste the following VBA code:
Sub DuplicateAndRenameSheets() Dim i As Integer Dim baseSheet As Worksheet Set baseSheet = ThisWorkbook.Sheets("S1") For i = 2 To 30 baseSheet.Copy After:=ThisWorkbook.Sheets(ThisWorkbook.Sheets.Count) ActiveSheet.Name = "S" & i Next i End Sub - Click Run (or press F5) to execute the macro.
Once completed:
- The original sheet S1 will remain unchanged.
- Additional copies will be created automatically.
- The new sheets will be named sequentially (S2, S3, S4, … S30).
- The content of all sheets will remain identical.
This approach helps you avoid repeating the duplication process manually and saves time.
Thank you for your patience and understanding. I appreciate your time, and I’m here to assist if you have any further questions or updates to share.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread