Hi Please find the attached File.. It will also provide you automatically Hyperlinked index at the time of Worksheet Creation
Private Sub Worksheet_Change(ByVal Target As Range) On Error GoTo Err: Application.ScreenUpdating = False If Target.Column = 1 And Target.Cells.Count = 1 And Target.Value <> "" Then ThisWorkbook.Worksheets.Add.Name = Target.Value Me.Hyperlinks.Add Target, "", "'" & Target.Value & "'!A1" Me.Activate End If Err: If Err.Number <> 0 Then Err.Clear End If Application.ScreenUpdating = True End Sub Rajan. -----Original Message----- From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of chhajersand...@gmail.com Sent: Dec/Thu/2011 05:55 To: excel-macros@googlegroups.com Subject: $$Excel-Macros$$ Auto create of sheet with new name in a sheet Dear excel advisor, I want a macro which create a sheet automatically if I add a new product name in a particular sheet with the name of the new product. And also want a condition validation which restrict user from inserting duplicate name where I insert the new product name. Thanking you in advance. Sandeep Chhajer. Sent on my BlackBerryR from Vodafone -- FORUM RULES (934+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ---------------------------------------------------------------------------- -------------------------- To post to this group, send email to excel-macros@googlegroups.com -- FORUM RULES (934+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com
CreateSheets.xlsm
Description: application/vnd.ms-excel.sheet.macroenabled.12