Help with Excel Macro
Solved/Closed
sahkab
Posts
6
Registration date
Monday November 23, 2009
Status
Member
Last seen
March 10, 2010
-
Nov 24, 2009 at 05:33 PM
aquarelle Posts 7140 Registration date Saturday April 7, 2007 Status Moderator Last seen March 25, 2024 - Nov 24, 2009 at 06:02 PM
aquarelle Posts 7140 Registration date Saturday April 7, 2007 Status Moderator Last seen March 25, 2024 - Nov 24, 2009 at 06:02 PM
Related:
- Help with Excel Macro
- Spell number in excel without macro - Guide
- Excel marksheet - Guide
- Excel apk for pc - Download - Spreadsheets
- Macros in excel download free - Download - Spreadsheets
- Kernel for excel - Download - Backup and recovery
3 responses
aquarelle
Posts
7140
Registration date
Saturday April 7, 2007
Status
Moderator
Last seen
March 25, 2024
491
Nov 24, 2009 at 05:50 PM
Nov 24, 2009 at 05:50 PM
Hello,
Try with this macro :
Best regards
Try with this macro :
Sub AddSheet() Dim strName As String strName = ActiveCell.Text If ActiveCell.Text = "" Then Exit Sub For Each sh In Sheets If sh.Name = ActiveCell.Text Then Exit Sub Next sh Sheets.Add After:=Sheets(Sheets.Count) ActiveSheet.Name = strName End Sub
Best regards
sahkab
Posts
6
Registration date
Monday November 23, 2009
Status
Member
Last seen
March 10, 2010
Nov 24, 2009 at 05:57 PM
Nov 24, 2009 at 05:57 PM
Sweet!!! It worked like a charm, just what I was looking for.
Thank you very much aquarelle. :D
Thank you very much aquarelle. :D
aquarelle
Posts
7140
Registration date
Saturday April 7, 2007
Status
Moderator
Last seen
March 25, 2024
491
Nov 24, 2009 at 06:02 PM
Nov 24, 2009 at 06:02 PM
Happy to have been able to help you :)