Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Renaming Values in a selected range.

Status
Not open for further replies.

jcook1

Technical User
Joined
Aug 9, 2006
Messages
5
Location
GB
Hi there, i'm a bit of a beginner and am having issues with the language.

I'm trying to make it so i can refer to the values in a selected range.

eg

Dim XValues As String

Range(Selection, Selection.End(xlDown)).Select

Xvalues = <The Values in the range>

Any ideas?
 
Can you tell us a little more? With the code example it is hard to tell what you are trying to accomplish.

Where are you pulling these values from, etc?

Thanks

Chad
Techtnologies LLC
 



Hi,

This looks like VBA. Are you doing this in Excel?

If so, please post in VBA Visual Basic for Applications (Microsoft) forum707

Skip,

[glasses] [red][/red]
[tongue]
 
I'm rusty on Excel VBA but I believe your XValues would be a Range object. Something like:
Code:
Dim XValues As Range

Set XValues = Range("a1", "g200")

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top