LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Junior Member
 
Location: Toronto
Posts: 1
Question How to: Open closed workbook/Search data tables/Return data to open workbook

Hello,

I am using Microsoft Excel 2007 and operating Windows XP.

I have created reference tables in 'workbook 1' that contain electrical data (i.e. voltages, amperages, horse power etc.), this table is constant and remains closed. Note: All electrical tables are thorough, meaning that they have cross-referencing rows and column of numerical entries indicating say horse power or voltage with equivalent electrical amperage.

Now, I am working on 'workbook 2' where I am entering mechanical equipment that usually indicates the horse power necessary to operate it and I want to be able to:

1: Access the electrical tables in workbook 1.
2: Search the correct table, on the correct sheet, for the electrical information corresponding to the specific horse power of the piece of equipment in question.
3. Return the data entry found in the electrical tables to my open work book, that lists the mechanical equipment.

My thought process so far:

1. I believe I need to use VBA
2. I need to access the closed workbook 1 and search for the correct table on the correct sheet (If I were to create a function on my open workbook 2, I could specify the sheet and starting cell of closed workbook 1 to begin the search for data. Also, I will need to indicate the file path of closed workbook 1.)
3. I need to be able to search down a column for the entry that matches my mechanical equipment horse power then move laterally across the row, to the correct column, to find the needed value. A generic search program to perform a cross referencing search of a table would be really good.
4. At this point, have the found value inputted in my open workbook 2.

What I have tried:

1. Search the web extensively for ideas about accessing the closed workbook (not sure of the programming format to opening the workbook, sheet specifying the table.)
2. Search for ideas on how to set up the most efficient way to search the electrical tables.
3. Started learning how to work with functions, modules, VBA and the developer toolkit in excel.

My problems:

1. I do not know how to program in VBA very well.
2. I am not sure of the most efficient way to organize my thoughts about how to proceed with this problem or incorporate the various if, loop, and access commands (i.e. what is the format to opening the closed workbook?).

Those are the basics. Any help would be greatly appreciated and would make my task much more simplistic.

Thank you for your time,
Hugh
 
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
how do i open a data workbook when i open a timesheet workbook [email protected] uk Excel Discussion (Misc queries) 2 January 4th 09 04:50 PM
Shared Workbook - Using data for those that have the book open Baggins Excel Worksheet Functions 2 July 2nd 08 10:52 AM
REFRESH DATA in all Worksheets upon open of workbook sfleck Excel Discussion (Misc queries) 0 October 19th 07 12:08 AM
Search open sheets in workbook and insert into open sheet punx77 Excel Discussion (Misc queries) 0 March 6th 06 05:07 PM
Importing Data from unopened Workbook into an open Workbook GrayesGhost Excel Discussion (Misc queries) 0 March 5th 05 11:25 PM


All times are GMT +1. The time now is 10:03 PM.

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"