#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Named Range


Hi Guys,
This forum's brilliant... I haven't Not found an answer to an excel/vb
problem here yet! Thanks everyone...

So, I have a named range on a sheet, and a combobox with data
validation on the named list. Having the named range on a different
sheet to the combobox was working fine, and the named range appeared in
the name-box in all sheets, everything was fine.

I had some problems with rebel macros running code on the wrong
sheets and things got corrupted, so I replaced the sheet with the
combobox with a backup copy, which was working fine, and now the old
sheet, on the new file won't reference the named range. The range is
still present in 'name - define' etc., but you can't access the range
from any other sheet now. What's gone wrong?!

I've tried deleting the combobox and starting again, but it just
won't work any more.

If I have the old backup copy open in the background, the combox works
fine... I assume this means it's somehow referencing the old workbook
directly, but I can't find anywhere where this is defined...

Any ideas?!

Thanks,

Gareth


--
pianoman
------------------------------------------------------------------------
pianoman's Profile: http://www.excelforum.com/member.php...o&userid=33712
View this thread: http://www.excelforum.com/showthread...hreadid=543655

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 216
Default Named Range

Sounds like the name is referring to the other workbook. Go to the Names
Dialog (InsertNameDefine...) and select that name. If the other workbook
name is in the RefersTo value, take it out (you edit by F2 in the Refersto
box).

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"pianoman" wrote in
message ...

Hi Guys,
This forum's brilliant... I haven't Not found an answer to an excel/vb
problem here yet! Thanks everyone...

So, I have a named range on a sheet, and a combobox with data
validation on the named list. Having the named range on a different
sheet to the combobox was working fine, and the named range appeared in
the name-box in all sheets, everything was fine.

I had some problems with rebel macros running code on the wrong
sheets and things got corrupted, so I replaced the sheet with the
combobox with a backup copy, which was working fine, and now the old
sheet, on the new file won't reference the named range. The range is
still present in 'name - define' etc., but you can't access the range
from any other sheet now. What's gone wrong?!

I've tried deleting the combobox and starting again, but it just
won't work any more.

If I have the old backup copy open in the background, the combox works
fine... I assume this means it's somehow referencing the old workbook
directly, but I can't find anywhere where this is defined...

Any ideas?!

Thanks,

Gareth


--
pianoman
------------------------------------------------------------------------
pianoman's Profile:

http://www.excelforum.com/member.php...o&userid=33712
View this thread: http://www.excelforum.com/showthread...hreadid=543655



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Named Range


Thanks Bob, I think I left my brain by the bed this morning... it was
exactly that... I thought I'd checked that first, as you should, but
clearly not!

Thanks again,

Gareth

Bob Phillips Wrote:
Sounds like the name is referring to the other workbook. Go to the
Names
Dialog (InsertNameDefine...) and select that name. If the other
workbook
name is in the RefersTo value, take it out (you edit by F2 in the
Refersto
box).

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"pianoman"
wrote in
message ...

Hi Guys,
This forum's brilliant... I haven't Not found an answer to an

excel/vb
problem here yet! Thanks everyone...

So, I have a named range on a sheet, and a combobox with data
validation on the named list. Having the named range on a different
sheet to the combobox was working fine, and the named range appeared

in
the name-box in all sheets, everything was fine.

I had some problems with rebel macros running code on the wrong
sheets and things got corrupted, so I replaced the sheet with the
combobox with a backup copy, which was working fine, and now the old
sheet, on the new file won't reference the named range. The range

is
still present in 'name - define' etc., but you can't access the

range
from any other sheet now. What's gone wrong?!

I've tried deleting the combobox and starting again, but it just
won't work any more.

If I have the old backup copy open in the background, the combox

works
fine... I assume this means it's somehow referencing the old

workbook
directly, but I can't find anywhere where this is defined...

Any ideas?!

Thanks,

Gareth


--
pianoman

------------------------------------------------------------------------
pianoman's Profile:

http://www.excelforum.com/member.php...o&userid=33712
View this thread:

http://www.excelforum.com/showthread...hreadid=543655



--
pianoman
------------------------------------------------------------------------
pianoman's Profile: http://www.excelforum.com/member.php...o&userid=33712
View this thread: http://www.excelforum.com/showthread...hreadid=543655

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 216
Default Named Range

At least we didn't fail - again <vbg

Bob

"pianoman" wrote in
message ...

Thanks Bob, I think I left my brain by the bed this morning... it was
exactly that... I thought I'd checked that first, as you should, but
clearly not!

Thanks again,

Gareth

Bob Phillips Wrote:
Sounds like the name is referring to the other workbook. Go to the
Names
Dialog (InsertNameDefine...) and select that name. If the other
workbook
name is in the RefersTo value, take it out (you edit by F2 in the
Refersto
box).

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"pianoman"
wrote in
message ...

Hi Guys,
This forum's brilliant... I haven't Not found an answer to an

excel/vb
problem here yet! Thanks everyone...

So, I have a named range on a sheet, and a combobox with data
validation on the named list. Having the named range on a different
sheet to the combobox was working fine, and the named range appeared

in
the name-box in all sheets, everything was fine.

I had some problems with rebel macros running code on the wrong
sheets and things got corrupted, so I replaced the sheet with the
combobox with a backup copy, which was working fine, and now the old
sheet, on the new file won't reference the named range. The range

is
still present in 'name - define' etc., but you can't access the

range
from any other sheet now. What's gone wrong?!

I've tried deleting the combobox and starting again, but it just
won't work any more.

If I have the old backup copy open in the background, the combox

works
fine... I assume this means it's somehow referencing the old

workbook
directly, but I can't find anywhere where this is defined...

Any ideas?!

Thanks,

Gareth


--
pianoman

------------------------------------------------------------------------
pianoman's Profile:

http://www.excelforum.com/member.php...o&userid=33712
View this thread:

http://www.excelforum.com/showthread...hreadid=543655



--
pianoman
------------------------------------------------------------------------
pianoman's Profile:

http://www.excelforum.com/member.php...o&userid=33712
View this thread: http://www.excelforum.com/showthread...hreadid=543655



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
Referencing a named range based upon Range name entry in cell Barb Reinhardt Excel Worksheet Functions 14 June 20th 07 07:19 PM
Array as a "named range" - formula ok in cells, but error as "named range" tskogstrom Excel Discussion (Misc queries) 11 December 28th 06 04:44 PM
inserting a named range into new cells based on a named cell Peter S. Excel Discussion (Misc queries) 1 June 4th 06 03:53 AM
Compare a selected Range with a Named range and select cells that do not exist PCLIVE Excel Programming 1 October 18th 05 07:09 PM
If any cell in named range = 8 then shade named range JJ[_8_] Excel Programming 3 August 26th 05 11:09 PM


All times are GMT +1. The time now is 02:02 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"