Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default 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
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
Data Labels- POssible to show data value and data label together? kippers Charts and Charting in Excel 1 April 1st 09 01:33 PM
Increase Your Business By Data Conversion, Data Format and Data EntryServices in India Data Entry India Excel Worksheet Functions 1 March 31st 08 12:51 PM
Save 20% On Data Conversion and Data Formats Services by Data EntryIndia Data Entry India Excel Discussion (Misc queries) 0 March 31st 08 12:00 PM
Data Entry Online, Data Format, Data Conversion and Data EntryServices through Data Entry Outsourcing [email protected] Excel Discussion (Misc queries) 0 March 20th 08 12:45 PM
MULTIPLE DATA - How to insert new data into existing data.... Rodorodo Excel Discussion (Misc queries) 0 December 15th 06 11:50 PM


All times are GMT +1. The time now is 05:12 AM.

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

About Us

"It's about Microsoft Excel"