Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default Simulating VLookUp in Macro

What is the best approach to simulate the VLookup function in a Macro.

I am writing a Macro that imports a Text File then translates the data in
each row and column to a value that my system will recognize into another
worksheet.

Currently, I have VLookup formulas that uses value in the Text File Worksheet
compares against a Cross Reference Worksheet and places the new value in
another worksheet.

The problem is the user that uses the worksheet keeps messing around with the
formula. Is there more efficent way to do this process?

Thanks
Dana

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200703/1

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 142
Default Simulating VLookUp in Macro

On Mar 2, 9:22 am, "Fredriksson via OfficeKB.com" <u27002@uwe wrote:
What is the best approach to simulate the VLookup function in a Macro.

I am writing a Macro that imports a Text File then translates the data in
each row and column to a value that my system will recognize into another
worksheet.

Currently, I have VLookup formulas that uses value in the Text File Worksheet
compares against a Cross Reference Worksheet and places the new value in
another worksheet.

The problem is the user that uses the worksheet keeps messing around with the
formula. Is there more efficent way to do this process?

Thanks
Dana

--
Message posted via OfficeKB.comhttp://www.officekb.com/Uwe/Forums.aspx/excel-programming/200703/1


Try a variable defined with Evaluate
then set the destination cell = to your variable

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
Simulating a Zodiac with a chart gtslabs Charts and Charting in Excel 2 March 16th 09 07:16 PM
Simulating Key Presses in Macros [email protected] Excel Programming 3 March 22nd 06 09:46 AM
simulating click events ben Excel Programming 6 January 7th 05 04:26 PM
Simulating HTML frames inside a Excel application Matt Jensen Excel Programming 5 December 1st 04 03:15 PM
Simulating a synchronous process Russ[_8_] Excel Programming 3 April 28th 04 08:48 PM


All times are GMT +1. The time now is 08:16 PM.

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"