hii..

Private Sub Sampling()
Sheets("MASTER").Unprotect Password:="vivekgupta"
Sheets("MASTER").Copy After:=Sheets(1)
ActiveSheet.Name = Range("K2").Value
These are my initial lines of the code..

When I run this code step by step I get the error at third line after Copying the master sheet after 1st sheet.

Is it because I have used Combo box Active controls in my sheet?

What is the solution?

Thanks..