PC Review


Reply
Thread Tools Rate Thread

2 named cells

 
 
greg
Guest
Posts: n/a
 
      27th May 2008
Just currious.
If I wanted to put 2 different named cells on a single cell. I use named
cells to exchange information to other programs.

I would not think this can be done. Haveing 2 different named cells.
Would there be a way to trick excel into allowing something like this? Has
anyone thought about this problem?

thanks for any input


 
Reply With Quote
 
 
 
 
Gary''s Student
Guest
Posts: n/a
 
      27th May 2008
Let's say we have named A1 alpha and named A2 beta, then in A3 enter:

=alpha & beta
--
Gary''s Student - gsnu2007i


"greg" wrote:

> Just currious.
> If I wanted to put 2 different named cells on a single cell. I use named
> cells to exchange information to other programs.
>
> I would not think this can be done. Haveing 2 different named cells.
> Would there be a way to trick excel into allowing something like this? Has
> anyone thought about this problem?
>
> thanks for any input
>
>
>

 
Reply With Quote
 
Jim Thomlinson
Guest
Posts: n/a
 
      27th May 2008
I assume that we are talking about named ranges. If so then two different
named ranges can refer to the same cell or range of cells.

Insert -> Name -> Define -> Add two different named ranges that both
reference the same cell.
--
HTH...

Jim Thomlinson


"greg" wrote:

> Just currious.
> If I wanted to put 2 different named cells on a single cell. I use named
> cells to exchange information to other programs.
>
> I would not think this can be done. Haveing 2 different named cells.
> Would there be a way to trick excel into allowing something like this? Has
> anyone thought about this problem?
>
> thanks for any input
>
>
>

 
Reply With Quote
 
Norman Jones
Guest
Posts: n/a
 
      27th May 2008
Hi Greg,

How about ten names:

'==========>>
Public Sub Tester()
Dim WB As Workbook
Dim SH As Worksheet
Dim rng As Range
Dim i As Long
Const sStr As String = "Piggy"

Set WB = ThisWorkbook
Set SH = WB.Sheets("Sheet1")
Set rng = SH.Range("A1")

For i = 1 To 10
WB.Names.Add Name:=sStr & i, _
RefersTo:=rng.Address
Next i
End Sub
'<<==========


---
Regards.
Norman


"greg" <(E-Mail Removed)> wrote in message
news:uI%(E-Mail Removed)...
> Just currious.
> If I wanted to put 2 different named cells on a single cell. I use named
> cells to exchange information to other programs.
>
> I would not think this can be done. Haveing 2 different named cells.
> Would there be a way to trick excel into allowing something like this?
> Has anyone thought about this problem?
>
> thanks for any input
>
>


 
Reply With Quote
 
greg
Guest
Posts: n/a
 
      27th May 2008
thanks all.


"greg" <(E-Mail Removed)> wrote in message
news:uI%(E-Mail Removed)...
> Just currious.
> If I wanted to put 2 different named cells on a single cell. I use named
> cells to exchange information to other programs.
>
> I would not think this can be done. Haveing 2 different named cells.
> Would there be a way to trick excel into allowing something like this?
> Has anyone thought about this problem?
>
> thanks for any input
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
clearing values of cells in named range(s) so the cells are empty BRC Microsoft Excel Programming 1 10th Jan 2010 06:54 AM
Excell named cells or labeled cells question farseer@optonline.net Microsoft Excel Programming 8 25th Jun 2006 05:15 PM
Excel named cells or labeled cells question farseer@optonline.net Microsoft Excel Programming 2 25th Jun 2006 04:39 PM
inserting a named range into new cells based on a named cell =?Utf-8?B?UGV0ZXIgUy4=?= Microsoft Excel Misc 1 4th Jun 2006 03:53 AM
adding/deleting cells in a named range of cells Tat Microsoft Excel Worksheet Functions 2 18th Nov 2003 03:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:45 PM.