I have a macro which runs well on my computer and few other peoples. However for some other users there getting an error message saying:
“Object doesn’t support this property or Method”.
Option Explicit
Sub Create_NewSheet_TopasteData()
Dim test As Worksheet
Sheets("Security Distribution").Copy After:=Sheets(Sheets.Count)
Set test = ActiveSheet
test.Name = Range("F2")
End Sub