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: 3
Default Reference Cells on another worksheet

I'm working on a project where we have two worksheets. Data is entered
into the first sheet and the second sheet has to reference two cells on
the first sheet and sum them. The problem comes in that every month we
have to use a new set of two sheets and keep the previous two sheets
avalible in the work book for future reference. At this point I have
VBA set up so that when the user clicks on a button on a cover work
sheet it makes copies of the two sheet and names them according to the
name placed in an inputbox and places them after the cover sheet so
that they are sheet 2 and 3 each month. When the sheets are created and
then renamed by the macro, the sheet reference names in the sum formula
on the first sheet don't change and alway point to the old sheets!! How
do I get them to change so that the two sheets that are created every
month are always linked to each other? I've tried using an indirect
formula with a VBA that returns the sheet index position but I can't
get it to work. I've spent literally 10 hours today trying to firgure
this out.

Can any one help! Please before I tear all my hair out! I feel like I'm
missing something really simple but it's total escaping me!

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
changing worksheet reference name when copying down cells ferne Excel Worksheet Functions 5 May 20th 10 02:55 AM
Use worksheet name in one cell as part of reference in other cells Steamer Excel Discussion (Misc queries) 5 June 30th 09 03:25 AM
Reference cells in seperate worksheet HR Gal Excel Worksheet Functions 3 January 23rd 09 07:05 PM
I want in one worksheet to relatively link to/reference cells in another without changing the format of the current worksheet. [email protected] Excel Discussion (Misc queries) 0 September 22nd 05 04:39 PM
Reference cells from another worksheet problem Neil Excel Discussion (Misc queries) 3 June 23rd 05 05:24 PM


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