View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Chip Pearson Chip Pearson is offline
external usenet poster
 
Posts: 7,247
Default spreadsheet commands in macro

Glen,

Yes, you can use worksheet functions in VBA code. You access them
via Application.WorksheetFunction. E.g.

Res = Application.WorksheetFunction.VLookUp(....)


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"Glen Mettler" wrote in
message ...
I want to use Vlookup in a macro. Is that possible?

Thanks,
Glen