troubleshooting Question

how to do excell's "INDIRECT" function in VBA code

Avatar of Or_A
Or_AFlag for Israel asked on
VB ScriptMicrosoft Excel
6 Comments1 Solution966 ViewsLast Modified:

I have a VLOOKUP function in my code:

(lets say i=3)

WorksheetFunction.VLookup("A" & i, Application.Names("Aquaculture_PO_Country"), 1, False)

i wanted  the Vlookup to search for THE CONTENT of cell A3, in the named range, but i believe it searches for the string "A3".

what should i do?

Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros