Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default How to get column values from other excel file in VBA

Dear all

I need to get a range of column values from another excel. Can anyone teach me how to do that? is there any built-in function or is it possible to use "VLookup" function? If so, pls suggest the sample code for me.

Million Thanks

Eric
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How to get column values from other excel file in VBA

='C:\myfolder\[myfile.xls]Sheet1'!A1

Then drag fill down your column.

--
Regards,
Tom Ogilvy

"Grey" wrote in message
...
Dear all

I need to get a range of column values from another excel. Can anyone teach
me how to do that? is there any built-in function or is it possible to use
"VLookup" function? If so, pls suggest the sample code for me.

Million Thanks

Eric


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
Autosum column values, if separate column values equal certain val Hulqscout Excel Worksheet Functions 1 November 5th 08 06:37 PM
How do i add a column of values based on another column in excel Zaebos Excel Worksheet Functions 2 September 19th 06 08:29 PM
How do I convert an excel file into a comma separated values file Conquerer Excel Discussion (Misc queries) 3 August 17th 06 09:19 PM
How do I change *.CSV excel file to column seperated file? Pankaj Excel Discussion (Misc queries) 2 July 5th 05 07:35 PM
Copy values from file A, Find/Replace these values in File B shockley Excel Programming 1 September 22nd 03 12:32 AM


All times are GMT +1. The time now is 07:09 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"