Hope everyones well.
Im trying to develop a project log for our small business. I have found a quick clever way to just use small pop-upbox to input the smallest necessary information req. (name of the project) to copy a hidden sheet (here called "offert") and replicate that to a new one with a new input name.
- What im trying to do (and have tried Hyperlink.add etc in various forms) would like that newly, user-input name, to be added as a hyperlink on the "main" sheet here called "offertliggare" in the code, whenever a new sheet is created. Those new links should then fill downwards from say cell A3 in the mainsheet and down.
I have tried in various forms, and tried to study in on vba as well deeper and searched other threads but cant find a solution. Any help would be most appreciated, thanks.
Sub DupSheet()
Dim Actsheet As String
Application.ScreenUpdating = False
On Error Resume Next
ActiveWorkbook.Sheets("Offert").Visible = True
ActiveWorkbook.Sheets("Offert").Copy _
after:=ActiveWorkbook.Sheets("Offert")
ActNm = ActiveSheet.Name
ActiveSheet.Name = InputBox("Enter the name for the new sheet.")
Sheets(ActiveSheet.Name).Visible = True
ActiveWorkbook.Sheets("Offert").Visible = False
Application.ScreenUpdating = True
End Sub