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 Mike Lewis 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
Aug 9, 2006
5
0
0
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?
 



Hi,

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

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

Skip,
[sub]
[glasses] [red][/red]
[tongue][/sub]
 
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