LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,814
Default Referencing Data in Closed Workbooks

Thanks Pete. If it becomes necessary to use VBA, I already have very simple
code to Edit & Replace. I am trying to avoid this, as it may require a
little support down the road.
Thanks again.

"Pete_UK" wrote in message
oups.com...
One way you could do it is with Edit | Replace:

Find What: 01.xls
Replace with: 02.xls
Replace All

This would be quite easy to put in a macro if you stored the number
you changed to in a cell, so that next time you would know to change
from 02 to the next number. You could then assign the macro to a
button, so that your colleague would only have to click the button to
look at the most recent file.

Hope this helps.

Pete

On Oct 25, 7:49 pm, "Steve" wrote:
Hi -
I'm using Excel 2000, Win XP.

A colleague has a workbook which accesses data from a secondary work
book.
Every so often, she has to update the data in the Main Workbook with data
from a different secondary workbook. For example, the Main workbook is
referencing data from "Workbook01.xls" this week. Next week, she wants
to
reference data from "Workbook02.xls". The only change in the workbook
names
is from 01 to 02. She will have about 50 workbooks throughout the year.

Rather than changing each individual reference in the Main Workbook, she
wants to be able to change just one cell from '01 to '02, and have the
cells
update with data from the 02 workbook. The data in each of the secondary
workbooks is arranged similarly, so changing the workbook name will bring
in
the correct data.

I could write VBA code to do this, but was wondering if this could be
accomplished using formulas and no VBA. She has numerous workbooks with
references to closed workbooks. I would not want to write VBA for each
of
her workbooks.

Thanks in advance.

Steve







 
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
Cross referencing data across different workbooks Luke Excel Discussion (Misc queries) 1 August 8th 06 10:19 PM
Keeping data once referenced workbooks are closed. stuckupnorth Excel Discussion (Misc queries) 1 July 12th 06 10:37 AM
SAVING DATA TO CLOSED WORKBOOKS DarnTootn Excel Worksheet Functions 0 May 15th 06 04:21 PM
Referencing cells in closed workbooks sastefan Excel Discussion (Misc queries) 1 March 1st 06 05:00 PM
Data from closed workbooks (pull func, indirect.ext, etc ....) [email protected] Excel Worksheet Functions 1 June 22nd 05 03:24 PM


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