-
Solved: excel2000 question
hi,
i have a piece of code that will work on excel2003 but will not work in excel2000 because the feature is not there.
how can i incoporate into the code to check the version of excel running?
[vba]
if excel2003 then
Worksheets("sheet1").tab.ColorIndex = 5
end if
[/vba]
when i write code using excel2003, is there any (aside from running the code in an older version) to know that the code will fail?
thanks
zach
-
MVP (Excel 2008-2010)
Post a workbook with sample data and layout if you want a quicker solution.
To help indent your macros try Smart Indent
Please remember to mark threads 'Solved'
-
thanks malcolm
just what i needed
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules