Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default easily change external references

Hi...

My question has probably been answered somewhere in the community; but
either I cant find it or I'm just confused.

I have 2 workbooks, Workbook A and Workbook B

Every week in Workbook A, new data is added to a new worksheet. In Workbook
B, I need to reference several cells from Workbook A. But with each new week,
I need to change the sheet name in all of the references to get the weeks
data. The only thing that will be changing in Workbook B is the sheet name in
each external reference.

Is there any way to easily change the sheet name in each external references
in Workbook B without doing anything to Workbook A?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 510
Default easily change external references

Hi


ReplaceAll (OldSheetName NewSheetName)


--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )



"MikeyS" wrote in message
...
Hi...

My question has probably been answered somewhere in the community; but
either I cant find it or I'm just confused.

I have 2 workbooks, Workbook A and Workbook B

Every week in Workbook A, new data is added to a new worksheet. In
Workbook
B, I need to reference several cells from Workbook A. But with each new
week,
I need to change the sheet name in all of the references to get the weeks
data. The only thing that will be changing in Workbook B is the sheet name
in
each external reference.

Is there any way to easily change the sheet name in each external
references
in Workbook B without doing anything to Workbook A?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default easily change external references

Thanks...

That does work but it also has a lot of steps to it. What I'm looking for
is a bit more, I guess, automated and easily like a click of a button,
choosing which sheet and then the cells are updated. Do you know if this can
be done?

"Arvi Laanemets" wrote:

Hi


ReplaceAll (OldSheetName NewSheetName)


--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )



"MikeyS" wrote in message
...
Hi...

My question has probably been answered somewhere in the community; but
either I cant find it or I'm just confused.

I have 2 workbooks, Workbook A and Workbook B

Every week in Workbook A, new data is added to a new worksheet. In
Workbook
B, I need to reference several cells from Workbook A. But with each new
week,
I need to change the sheet name in all of the references to get the weeks
data. The only thing that will be changing in Workbook B is the sheet name
in
each external reference.

Is there any way to easily change the sheet name in each external
references
in Workbook B without doing anything to Workbook A?




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 510
Default easily change external references

Hi

It's possible for sure, but you have to wait for somebody else to help you
with it - I don't have the code ready, and I don't have enough of time for
it at moment.


--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )



"MikeyS" wrote in message
...
Thanks...

That does work but it also has a lot of steps to it. What I'm looking for
is a bit more, I guess, automated and easily like a click of a button,
choosing which sheet and then the cells are updated. Do you know if this
can
be done?

"Arvi Laanemets" wrote:

Hi


ReplaceAll (OldSheetName NewSheetName)


--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )



"MikeyS" wrote in message
...
Hi...

My question has probably been answered somewhere in the community; but
either I cant find it or I'm just confused.

I have 2 workbooks, Workbook A and Workbook B

Every week in Workbook A, new data is added to a new worksheet. In
Workbook
B, I need to reference several cells from Workbook A. But with each new
week,
I need to change the sheet name in all of the references to get the
weeks
data. The only thing that will be changing in Workbook B is the sheet
name
in
each external reference.

Is there any way to easily change the sheet name in each external
references
in Workbook B without doing anything to Workbook A?






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default easily change external references

If you've got many references to change, the INDIRECT function sounds like
what you need. Use one cell for the name of the relevant sheet, & pick that
up in the link formulae.
--
David Biddulph

"MikeyS" wrote in message
...
Hi...

My question has probably been answered somewhere in the community; but
either I cant find it or I'm just confused.

I have 2 workbooks, Workbook A and Workbook B

Every week in Workbook A, new data is added to a new worksheet. In
Workbook
B, I need to reference several cells from Workbook A. But with each new
week,
I need to change the sheet name in all of the references to get the weeks
data. The only thing that will be changing in Workbook B is the sheet name
in
each external reference.

Is there any way to easily change the sheet name in each external
references
in Workbook B without doing anything to Workbook A?





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default easily change external references

Ok my question now is, how exactly do I do that? I've tried looking at the
information on INDIRECT, but don't get how to actually code it right with the
external reference

Here's an example of what I have

WORKBOOK A has data in
WORKSHEET 1 in cells:
A1 D1
A5 D5
A9 D9
A13 D13

WORKBOOK B need to bring in those values from WORKBOOK A into

A1 B1
A2 B2
A3 B3
A4 B4

and then in WORKBOOK B, I need to easily change the references from
WORKSHEET 1 to WORKSHEET 2 (then 3 then 4, etc every new week) of WORKBOOK A

Also is there a very easy "automated" way to do this too?

Thanks for all of your help!!!


"David Biddulph" wrote:

If you've got many references to change, the INDIRECT function sounds like
what you need. Use one cell for the name of the relevant sheet, & pick that
up in the link formulae.
--
David Biddulph

"MikeyS" wrote in message
...
Hi...

My question has probably been answered somewhere in the community; but
either I cant find it or I'm just confused.

I have 2 workbooks, Workbook A and Workbook B

Every week in Workbook A, new data is added to a new worksheet. In
Workbook
B, I need to reference several cells from Workbook A. But with each new
week,
I need to change the sheet name in all of the references to get the weeks
data. The only thing that will be changing in Workbook B is the sheet name
in
each external reference.

Is there any way to easily change the sheet name in each external
references
in Workbook B without doing anything to Workbook A?




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
Using external references as hyperlinks Jo Excel Discussion (Misc queries) 1 May 3rd 07 06:07 PM
Change formulae easily? fak119 New Users to Excel 1 August 2nd 06 04:14 PM
Cross worksheet references cannot be easily changed maintchief Excel Discussion (Misc queries) 0 November 26th 05 03:32 AM
External References Iain Excel Discussion (Misc queries) 1 February 3rd 05 09:45 AM
External References not working right. Dread_Pirate_Roberts Excel Worksheet Functions 13 December 8th 04 11:07 PM


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