LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 47
Default Replacing sheet causes #REF

What I have:

A sheet that is named all containing 40 columns of information. Every day
or two new information is added to the next row. Column 40 contains the
names Bill, Joe, Ted, Frank, Steve.

I have a macro that will take each name and make a separate sheet for each.
The macro will delete the old name. The names don't change, nor do their
spelling. The only things that will change are new rows are added and a new
name may be added.

In a cell, I use sum to add up a specific column from each sheet.
=SUM(Ted!Q2:Q161)

What happens is that when I run the macro to replace the sheets, I get
=SUM(#REF!Q2:Q161)

I assume that because the spelling of the sheet name doesn't change the
formula should work. I assume wrong. Any suggestions?


 
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
replacing a #na Pammy Excel Discussion (Misc queries) 2 October 14th 07 03:54 AM
replacing Sheet create_share Excel Discussion (Misc queries) 1 August 1st 06 12:49 PM
Replacing sheet reference in multiple cells... neilcarden Excel Worksheet Functions 3 June 23rd 06 05:00 PM
replacing #N/A with 0 Mark Excel Discussion (Misc queries) 3 April 7th 05 10:02 PM
replacing just the sheet names within formulas Jeanne Criez Excel Worksheet Functions 1 January 4th 05 06:27 PM


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