Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]() hi The below code shows an error in the second line . if give sheet1.Range("C10").select its working fine but i want to populate the i value from C1 to C100 cells. For i = 1To 110 Step 1 Sheet1.Range(C(i)).Select varnbrows = Selection.CurrentRegion.Rows.count Selection.Value = i Next i thanks in advance -- parthaemail ------------------------------------------------------------------------ parthaemail's Profile: http://www.excelforum.com/member.php...o&userid=31311 View this thread: http://www.excelforum.com/showthread...hreadid=535899 |
#2
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
Sheet1.Range("C" & i).Select
-- HTH Bob Phillips (remove nothere from email address if mailing direct) "parthaemail" wrote in message ... hi The below code shows an error in the second line . if give sheet1.Range("C10").select its working fine but i want to populate the i value from C1 to C100 cells. For i = 1To 110 Step 1 Sheet1.Range(C(i)).Select varnbrows = Selection.CurrentRegion.Rows.count Selection.Value = i Next i thanks in advance -- parthaemail ------------------------------------------------------------------------ parthaemail's Profile: http://www.excelforum.com/member.php...o&userid=31311 View this thread: http://www.excelforum.com/showthread...hreadid=535899 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Prefixing a selection of cells with zeros | Excel Worksheet Functions | |||
Macro - Dynamic cell selection | Excel Discussion (Misc queries) | |||
checking that cells have a value before the workbook will close | Excel Worksheet Functions | |||
Help creating dynamic refrence cells | Excel Worksheet Functions | |||
Help adding text values | Excel Worksheet Functions |