Why this piece of code is returning error?

prabha_friend

Prabhakaran Karuppaih
Local time
Today, 19:15
Joined
Mar 22, 2009
Messages
1,043
If Not Sheets(Temp(0).AbsolutePosition + 1) Then Sheets.Add After:=Sheets(Sheets.Count)
 
Provide more code leading up to this please.
Is Temp(0) a variable or the name of a sheet?
 

Users who are viewing this thread

Back
Top Bottom