LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,533
Default Using the next reference number automatically

Hi

With data in column A, this will return the number of first empty row:

FirstEmptyRow = Range("A1").End(xlDown).Row + 1

Hopes it helps

Regards,
Per

"Novicer" skrev i meddelelsen
...
Can someone please help me to write a macro that can help me access the
next
available sequential number (1, 2, 3, 4, etc) from an existing worksheet?
For
example, if Rows 1 - 5 already has data entered already, I want to
reference
my formulas to Rows 6 (that is avaialbe) automatically. Thanks!


 
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
Formula to automatically change one number to another number Caroline ERP Excel Discussion (Misc queries) 1 November 28th 08 01:11 PM
Automatically Reference Tab Name sstexas Excel Discussion (Misc queries) 5 September 13th 07 12:48 AM
Column letter reference as number reference mcphc Excel Programming 8 January 30th 07 03:06 PM
tick a reference automatically Mehdi Excel Discussion (Misc queries) 1 March 15th 05 03:45 PM
Automatically change tab reference TWC Excel Discussion (Misc queries) 2 February 2nd 05 10:17 PM


All times are GMT +1. The time now is 06:33 PM.

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

About Us

"It's about Microsoft Excel"