LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Reference a cell on a worksheet

I have a perl script that generates a csv file hourly that keeps track
of conversations used on a router. I created an excel work book with
25 sheets. The first 24 sheets are imported using a macro that grabs
the files from a directory and names the sheets according to their
file name. These are the csv files for the previous 24 hours. The
last sheet is a summary sheet that does some basic calculations and
gives hourly totals of conversations used during the 24 hour period.
What I would like to do is be able to delete the first 24 sheets daily
and rerun the macro to import the next days data. When I do this
though the sheet names change due to the file names being different
and all of the links in the summary page fail with #REF!. What I
would like to do is be able to explicitly define in each formula on
the summary page sheet1-sheet24 based on position instead of the sheet
name hoping that when I reload the next 24 sheets it knows where to
locate the data. When I import the data files, I still want to keep
the names on the tabs that corrolate to the file names for other
functions so I can't just import them in as sheets 1-24. Hope this
makes sense.
Thanks
 
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 reference cell in different worksheet laavista Excel Discussion (Misc queries) 7 May 20th 09 11:00 PM
Using a Cell Value to reference a Worksheet pepperds Excel Discussion (Misc queries) 3 October 17th 07 02:01 PM
How to reference cell in other worksheet JimDandy Excel Worksheet Functions 4 December 17th 05 06:41 PM
Worksheet reference (i.e placing worksheet name in a cell) Roger Roger Excel Worksheet Functions 1 January 20th 05 03:40 PM
Reference a cell to get worksheet name Fysh Excel Worksheet Functions 2 December 15th 04 08:57 PM


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