Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Easy Q: Visual Basic and Excel
Hello.
I have a hopefully simple problem that I hope someone here can answer for me or lead me in the right direction. I have a very simple data.xls file that just has 1 sheet with two columns that contain text. (like a lookup translation table). Whats the easiest way to query this file looking for "Blah" in ColA and get the "Foo" from ColB (Using Visual Basic)? I understand the basics on how top open a file and loop through cells, but there must be an easier way to quickly query the columns? Any help is greatly appreciated. Thanks. --- Message posted from http://www.ExcelForum.com/ |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Easy Q: Visual Basic and Excel
You can even use vlookup without opening the other workbook.
-- Don Guillett SalesAid Software "Icemak " wrote in message ... Hello. I have a hopefully simple problem that I hope someone here can answer for me or lead me in the right direction. I have a very simple data.xls file that just has 1 sheet with two columns that contain text. (like a lookup translation table). Whats the easiest way to query this file looking for "Blah" in ColA and get the "Foo" from ColB (Using Visual Basic)? I understand the basics on how top open a file and loop through cells, but there must be an easier way to quickly query the columns? Any help is greatly appreciated. Thanks. --- Message posted from http://www.ExcelForum.com/ |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Easy Q: Visual Basic and Excel
Thanks for the start... just cant figure out the named range things..
just wish I could access the whole column. --- Message posted from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel and Visual Basic | Excel Worksheet Functions | |||
Excel and its Visual Basic IDE | Excel Discussion (Misc queries) | |||
Is Visual Basic the same as Visual Studio 2008? | Excel Worksheet Functions | |||
Visual BASIC in Excel | Excel Worksheet Functions | |||
changing the visual basic in office 2003 to visual studio net | Excel Discussion (Misc queries) |