LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
pdberger
 
Posts: n/a
Default Pulling data from another workbook

I'm writing a template for users in my company that needs to pull reference
data from another workbook. I've figured out how to open that workbook
automatically (thanks for input from the VBA Programming section!).

The users will put the two workbooks into the same folder, but I don't know
in advance what workbook that will be.

I've used some workbook.open vba to open the other workbook automatically,
using 'THISWORKBOOK.PATH' to find and open it. I'm having trouble putting
'THISWORKBOOK.PATH' into the equation in this active workbook to find and
pull data from the reference workbook opened by vba.

How can I write the equation to pull reference data automatically from the
other workbook, regardless what folder the user places them in?

Thanks in advance.
 
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
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
How do I link data from another workbook using a different file na Victor Excel Discussion (Misc queries) 1 May 29th 05 08:57 PM
Getting data from another workbook based on variable joemc911 Excel Discussion (Misc queries) 3 May 25th 05 09:18 AM
linking workbook data sir lancelot Excel Worksheet Functions 0 March 10th 05 04:03 PM
macro to browse for workbook, pick up data and looping uriel78 Excel Worksheet Functions 1 March 10th 05 12:37 PM


All times are GMT +1. The time now is 05:53 AM.

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

About Us

"It's about Microsoft Excel"