Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

applicationworksheetfunctionmatc

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Application.WorksheetFunction.Match on a sheet that isn't active

Application.WorksheetFunction.Match on a sheet that isn't active

ResolvedVersion 2003

James has attended:
Excel Advanced course
Excel VBA Intro Intermediate course
Excel VBA Advanced course

Application.WorksheetFunction.Match on a sheet that isn't active

I want to use Application.WorksheetFunction.Match on a sheet that isn't active. Can this be done?



RE: Application.WorksheetFunction.Match on a sheet that isn't ac

Hi James

Thank you for your question.

Yes you can use match onto another sheet. For the second argument, the range, you need to specify the sheet first and then the range.

Example

Application.WorksheetFunction.Match(1, Sheets("Sheet1").Range("A1:a10"))


Please let me know how you get on.


Laura GB

Thu 27 Nov 2008: Automatically marked as resolved.

 

Training courses

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Excel tip:

Shortcuts for working with named ranges in Excel

If you are working with or creating named ranges in your spreadsheets, then you may find the following shortcut keys useful.

- Bring up the Define Names dialogue box on screen by using Ctrl + F3 (instead of going to Insert - Names).

- Create Names from labels you have entered into the spreadsheet by highlighting the labels and related figures, then hold down Shift + Ctrl + F3. You can then choose to create names from the top or bottom rows, or left or right columns.

- Go directly to a named range by hitting the F5 key. The Go To dialogue box will open and display any named ranges in the spreadsheet. Simply select the named range to navigate to it in the spreadsheet.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.