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: 126
Default funny problem with range names

This isn't a VBA question, but this behavior is messing up one of my macros.

I've run into a funny behavior involving range names.

Put 1,2,3 into cells A1:A3
select these cells and define a Name, myrange.
move to cell C1 and type =myrange, and press enter.

In the formula bar when C1 is the active cell, I see =myrange.

If I press F2 to edit the formula, I still have =myrange in the formula bar.

Except on some worksheets, in certain files of mine, when I press F2 =myrange changes to =A1:A3 in the formula bar.

What is it about some worksheets that causes this to happen??? I'm hoping someone knows the answer because I can't figure it out. It doesn't seem to be the file, but only certain worksheets.

When this condition happens, it messes up the copying of formulas from one cell to another, and also does funny things to recalculation.

If anyone wants to see this, download the following file, which contains just one sheet with what I've described above. Press F2 on cell C1 and you should see =A1:A3 in the formula bar. I copied this sheet from one of my files that exhibits this strange behavior. A virgin file does not do this.

www.xlrotor.com/book2.xls

I'm using excel 2002, but excel 2000 does it also.

Thanks,

Brian Murphy
Austin, Texas

 
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
converting email address names in a range of cells to real names John Excel Worksheet Functions 1 May 19th 10 03:44 PM
COPYING FORMULA CONTAINING NAMES/RELATIVE RANGE NAMES Bricol Excel Discussion (Misc queries) 0 July 8th 08 03:54 PM
problem using Range Names in VLOOKUP Dee Excel Worksheet Functions 6 February 28th 06 06:57 PM
a funny problem Libby Excel Programming 2 May 7th 04 06:09 PM
Funny function problem with add-ins... Bura Tino Excel Programming 1 April 22nd 04 08:50 AM


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