Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Consolidation of data from cell in active sheet of closed workbook

Your expert advice would be most appreciated:
Using Excel 2003, I want to sum the contents of cell A1 on the last active
worksheet of 22 other workbooks into cell A1 of a master consolidation
workbook. The active sheet in the 22 workbooks will change from week to
week, so I need the master workbook to only retrieve data from cell A1 in the
sheet that was visible when the other 22 workbooks were last saved.

I can put a formula in the master consolidatioin workbook to link to a named
worksheet in the 22 other workbooks but cannot get it to link to the cell in
the last active worksheet.

I hope this makes sense, and that you can assist.

Regards
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 694
Default Consolidation of data from cell in active sheet of closed workbook

Neil you can't have volatile links that link to the active sheet.

The easiest way to do it is to have a consistent naming convention and then
do a shearch replace to replace last week's links with this weeks.

Or write some vba to do it using a table.

There is the indirect function but this only works if the worksheets are
open and therefore not very good.


--
Hope this helps
Martin Fishlock, Bangkok, Thailand
Please do not forget to rate this reply.


"Neil X Peel" wrote:

Your expert advice would be most appreciated:
Using Excel 2003, I want to sum the contents of cell A1 on the last active
worksheet of 22 other workbooks into cell A1 of a master consolidation
workbook. The active sheet in the 22 workbooks will change from week to
week, so I need the master workbook to only retrieve data from cell A1 in the
sheet that was visible when the other 22 workbooks were last saved.

I can put a formula in the master consolidatioin workbook to link to a named
worksheet in the 22 other workbooks but cannot get it to link to the cell in
the last active worksheet.

I hope this makes sense, and that you can assist.

Regards

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Consolidation of data from cell in active sheet of closed work

Martin,

Thanks for your prompt response.

Having searched for a solution in Excel's help files, to no avail, i thought
VBA might be the answer. I can perform basic macro editing, but I think this
task will be beyond my capabilities.

Reluctantly, I will continue to perform a search & replace on the cell
formulas, as you have suggested, unless you can point me in the direction of
a helpful online resource.

Many thanks again.

Neil



"Martin Fishlock" wrote:

Neil you can't have volatile links that link to the active sheet.

The easiest way to do it is to have a consistent naming convention and then
do a shearch replace to replace last week's links with this weeks.

Or write some vba to do it using a table.

There is the indirect function but this only works if the worksheets are
open and therefore not very good.


--
Hope this helps
Martin Fishlock, Bangkok, Thailand
Please do not forget to rate this reply.


"Neil X Peel" wrote:

Your expert advice would be most appreciated:
Using Excel 2003, I want to sum the contents of cell A1 on the last active
worksheet of 22 other workbooks into cell A1 of a master consolidation
workbook. The active sheet in the 22 workbooks will change from week to
week, so I need the master workbook to only retrieve data from cell A1 in the
sheet that was visible when the other 22 workbooks were last saved.

I can put a formula in the master consolidatioin workbook to link to a named
worksheet in the 22 other workbooks but cannot get it to link to the cell in
the last active worksheet.

I hope this makes sense, and that you can assist.

Regards

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 694
Default Consolidation of data from cell in active sheet of closed work

Neil

The easiest way to do it is to record a macro to replace the text.

You need to set up a cell where you can remeber the current string so that
you can use a message box to ask the user the type in the replacement text.

Get your code working and I'll have a look at it.
--
Hope this helps
Martin Fishlock, Bangkok, Thailand
Please do not forget to rate this reply.


"Neil X Peel" wrote:

Martin,

Thanks for your prompt response.

Having searched for a solution in Excel's help files, to no avail, i thought
VBA might be the answer. I can perform basic macro editing, but I think this
task will be beyond my capabilities.

Reluctantly, I will continue to perform a search & replace on the cell
formulas, as you have suggested, unless you can point me in the direction of
a helpful online resource.

Many thanks again.

Neil



"Martin Fishlock" wrote:

Neil you can't have volatile links that link to the active sheet.

The easiest way to do it is to have a consistent naming convention and then
do a shearch replace to replace last week's links with this weeks.

Or write some vba to do it using a table.

There is the indirect function but this only works if the worksheets are
open and therefore not very good.


--
Hope this helps
Martin Fishlock, Bangkok, Thailand
Please do not forget to rate this reply.


"Neil X Peel" wrote:

Your expert advice would be most appreciated:
Using Excel 2003, I want to sum the contents of cell A1 on the last active
worksheet of 22 other workbooks into cell A1 of a master consolidation
workbook. The active sheet in the 22 workbooks will change from week to
week, so I need the master workbook to only retrieve data from cell A1 in the
sheet that was visible when the other 22 workbooks were last saved.

I can put a formula in the master consolidatioin workbook to link to a named
worksheet in the 22 other workbooks but cannot get it to link to the cell in
the last active worksheet.

I hope this makes sense, and that you can assist.

Regards

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
Data Validation From Closed WorkBook TeRex82 Excel Discussion (Misc queries) 2 May 12th 06 10:45 AM
Active Cell Copy And Paste Sheet to Sheet A.R.J Allan Jefferys New Users to Excel 4 May 4th 06 02:04 AM
How to extract data from a wooksheet in a closed workbook kuansheng Excel Worksheet Functions 2 February 15th 06 03:46 AM
Active Cell when opening workbook mwclark0807 Excel Worksheet Functions 3 January 5th 06 04:38 AM
copy worksheet from closed workbook to active workbook using vba mango Excel Worksheet Functions 6 December 9th 04 07:55 AM


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