Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Last Cell
How do I select cell L4 to last cell?
|
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Last Cell
Sub test()
LastRow = Cells(Rows.Count, "L").End(xlUp).Row LastCol = Cells(4, Columns.Count).End(xlToLeft).Column Set MyRange = Range("L4", Cells(LastRow, LastCol)) MyRange.Select End Sub "Little Penny" wrote: How do I select cell L4 to last cell? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Code to copy the formulae of one cell to all the cell in the rangewith the specific cell and columnnumber changing Options | Excel Discussion (Misc queries) | |||
Code to copy the formulae of one cell to all the cell in the rangewith the specific cell and columnnumber changing | Excel Discussion (Misc queries) | |||
Populate a cell if values in cell 1 and cell 2 match cell 3 and 4 | Excel Worksheet Functions | |||
NEED VBA TO SELECT A CELL; NOTE THE CELL VALUE;COPYADJ CELL;FIND CELL VALUE IN A RANGE AND SO ON | Excel Programming | |||
How to create/run "cell A equals Cell B put Cell C info in Cell D | Excel Discussion (Misc queries) |