Link to home
Start Free TrialLog in
Avatar of Droo1977
Droo1977

asked on

What is the Excel VBScript Constant XlFirst

Hi
I am trying to get the following code to run, what it does is selects the first worksheet tab to the left in a workbook.  THe code was taken from the macro recorder.  I think what I need to do is declare the xlFirst constant but I have no idea what it should be.  Thanks.
ActiveWindow.ScrollWorkbookTabs Position:=xlFirst

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Patrick Matthews
Patrick Matthews
Flag of United States of America 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
Avatar of Droo1977
Droo1977

ASKER

Ok great thanks for the info!