Insert new sheet
Try following:
Sub InsertSheet()
ActRow = Selection.Row
ActCol = Selection.Column
ActSheetName = ActiveSheet.Name
ActiveWorkbook.Sheets.Add After:=Worksheets(Worksheets.Count)
Cells(ActRow, ActCol).Value = Sheets(ActSheetName).Cells(ActRow,
ActCol).Value
End Sub
Regards
reklamo
"Horacio" wrote:
Hi!
Is there some code to insert a new sheet with the contents of the
selected cell?
Tank you
Horacio
|