Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default range as variable

Range("C33").Select

is there a way to may range a variable ?

Sparky




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,726
Default range as variable

.... may range ...?

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)
"Sparky AKA_Sparkticus" wrote in message
k...
Range("C33").Select

is there a way to may range a variable ?

Sparky






  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default range as variable

Lots of ways. Detail?

--
Don Guillett
SalesAid Software

"Sparky AKA_Sparkticus" wrote in message
k...
Range("C33").Select

is there a way to may range a variable ?

Sparky






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default range as variable

In its simplest form, you could do something like

Dim Addr As String
Addr = "C33"
Range(Addr).Select


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email address is on the web site)


"Sparky AKA_Sparkticus" wrote in message
k...
Range("C33").Select

is there a way to may range a variable ?

Sparky






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default range as variable

Don Guillett wrote:
Lots of ways. Detail?

Range("C33").Select

is there a way to may range a variable ?

Sparky


I have cellthat i type qty number in

and from that i populate from c33 with detail of a product based on that
qty

so what i want to do is

lg 17 qty =2
and lg 20 qty = 0
the c33 & c34 will read LG 17

but if lg 17 qty =1
and lg 20 qty = 2
then cells c33 wil read lg 17
cell c34 will rad lg 20
cell c35 will rad lg 20

sparky



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
select range and put range address in variable [email protected] Excel Programming 2 January 25th 06 01:28 AM
Macro to copy a specified range to a variable range SWT Excel Programming 4 October 21st 05 08:24 PM
Using a variable in a range Tempy Excel Programming 5 May 20th 05 08:54 PM
setting a range variable equal to the value of a string variable Pilgrim Excel Programming 2 July 1st 04 11:32 PM
Problem trying to us a range variable as an array variable TBA[_2_] Excel Programming 4 September 27th 03 02:56 PM


All times are GMT +1. The time now is 11:46 PM.

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

About Us

"It's about Microsoft Excel"