Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
go to the first row without data
Hi forum I was record a macro that going to the last row with data + 1.In th first row I press on "end" key and after "down arrow" key and one mor press on "down arrow" key to arrived to first row without data. for example : Range("I1").Select Selection.End(xlDown).Select Range("I6").Select The problem that Excel define "hard" range "I6" and I want that it wil work even there is more then 6 row Thanks in advance yochai :confused -- yocha ----------------------------------------------------------------------- yochai's Profile: http://www.excelforum.com/member.php...fo&userid=2576 View this thread: http://www.excelforum.com/showthread.php?threadid=39177 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
go to the first row without data
Hi
You can use Offset Range("I1").Select Selection.End(xlDown).Offset(1, 0).Select -- Regards Ron de Bruin http://www.rondebruin.nl "yochai" wrote in message ... Hi forum I was record a macro that going to the last row with data + 1.In the first row I press on "end" key and after "down arrow" key and one more press on "down arrow" key to arrived to first row without data. for example : Range("I1").Select Selection.End(xlDown).Select Range("I6").Select The problem that Excel define "hard" range "I6" and I want that it will work even there is more then 6 row Thanks in advance yochai -- yochai ------------------------------------------------------------------------ yochai's Profile: http://www.excelforum.com/member.php...o&userid=25769 View this thread: http://www.excelforum.com/showthread...hreadid=391773 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Data Labels- POssible to show data value and data label together? | Charts and Charting in Excel | |||
Increase Your Business By Data Conversion, Data Format and Data EntryServices in India | Excel Worksheet Functions | |||
Save 20% On Data Conversion and Data Formats Services by Data EntryIndia | Excel Discussion (Misc queries) | |||
Data Entry Online, Data Format, Data Conversion and Data EntryServices through Data Entry Outsourcing | Excel Discussion (Misc queries) | |||
MULTIPLE DATA - How to insert new data into existing data.... | Excel Discussion (Misc queries) |