Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here is an example
p = 1 e = 5 Range(p & "a:b" & e).Select if p is a variable row and u would want to start a selection from colum 'a', microsoft will not accept the above statement, only the 'b" & e' part works. help, urgently please thank u |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Vimal,
Try Range("A"&p&":B"&e).Select -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Vimal" wrote in message ... Here is an example p = 1 e = 5 Range(p & "a:b" & e).Select if p is a variable row and u would want to start a selection from colum 'a', microsoft will not accept the above statement, only the 'b" & e' part works. help, urgently please thank u |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try this
Range("a" & p & ":b" & e).Select You just had the column and row mixed up for the beginning of the range. KB -----Original Message----- Here is an example p = 1 e = 5 Range(p & "a:b" & e).Select if p is a variable row and u would want to start a selection from colum 'a', microsoft will not accept the above statement, only the 'b" & e' part works. help, urgently please thank u . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
same varible in formula | Excel Worksheet Functions | |||
Varible reference to worksheet name | Excel Discussion (Misc queries) | |||
varible calculation | New Users to Excel | |||
varible table not | Excel Worksheet Functions | |||
varible table | Excel Worksheet Functions |