![]() |
|
|
Welcome to the { mindfrost82.com } forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
how to access column 8 in my Range
Hi,
I want to place "1" in column 8 in every row in my range named "LegendList". How do I do this? I tried: LegendList(, 8) = "1" and I tried With LegendList .Cells(, 8) = "1" end with Neither works... Help...please Thanks, Paul |
|
|||
|
Re: how to access column 8 in my Range
try this to put the number 1 in each cell
Sub oneinrange() Range("legendlist") = 1 End Sub or 8 columns over Sub oneinrange() Range("legendlist").Offset(, 8) = 1 End Sub -- Don Guillett Microsoft MVP Excel SalesAid Software dguillett1@austin.rr.com "rpsmith" <rpsmith@bpa.gov> wrote in message news:8db13880-b1ac-4785-b63f-b303e2779d97@v26g2000prm.googlegroups.com... > Hi, > > I want to place "1" in column 8 in every row in my range named > "LegendList". How do I do this? > > I tried: > > LegendList(, 8) = "1" > > and I tried > > With LegendList > .Cells(, 8) = "1" > end with > > Neither works... > Help...please > Thanks, > Paul |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|