Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default spreadsheet commands in macro

I want to use Vlookup in a macro. Is that possible?

Thanks,
Glen
  #2   Report Post  
Posted to microsoft.public.excel.programming
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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default spreadsheet commands in macro

Hi
application.worksheetfunction.vlookup(...)

--
Regards
Frank Kabel
Frankfurt, Germany


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

Thanks,
Glen

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Set of Macro commands Rechie Excel Discussion (Misc queries) 1 August 17th 09 11:37 AM
Macro Commands Chris Premo Excel Discussion (Misc queries) 6 January 1st 09 04:35 PM
How do I call MS DOS commands from Macro. MrDan8 Excel Discussion (Misc queries) 2 June 27th 06 07:37 PM
Macro Commands danh Excel Discussion (Misc queries) 5 June 22nd 06 02:00 PM
macro commands Amir Excel Discussion (Misc queries) 2 April 3rd 06 10:58 AM


All times are GMT +1. The time now is 04:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"