Link to home
Start Free TrialLog in
Avatar of ca1358
ca1358

asked on

correct syntax?

What is the correct syntax?


This is in Excel VB.

Dim mysheet As "activeworksheet"
ASKER CERTIFIED SOLUTION
Avatar of GrahamSkan
GrahamSkan
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Typo. Should be

set MySheet = ActiveSheet
Avatar of ca1358
ca1358

ASKER

Thank you!
That must be the quickest acceptance ever. I realised my error as soon as I hit Submit, but I'm a slow typist.
Thanks