applicationworksheetfunctionmatc

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

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

resolvedResolved · High Priority · Version 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:

Create a unique items table from a duplicating table

1. Ensure that your list has column headings
2. Select the entire list
3. From the menu bar, select DATA, FILTER, ADVANCED FILTER
4. Select "Filter the list, in place", and tick the "Unique Records Only" box
5. Click OK, filtered list appears.

View all Excel hints and tips


Server loaded in 0.08 secs.