Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default next available row

Hi


I am collecting a selection of data using input boxes on my excel table

how do I identify the next empty row for entry of this data on the
worksheet?

thanks

portroe

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default next available row

NextRow = _
Application.WorksheetFunction.CountA(Range("b:b")) + 1

Just change the range column to your desired column.


"portroe" wrote in message
...
Hi


I am collecting a selection of data using input boxes on my excel table

how do I identify the next empty row for entry of this data on the
worksheet?

thanks

portroe



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default next available row

Assuming column A is the key identifier column

Cells(Rows.Count,"A").End(xlUp).Row+1

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"portroe" wrote in message
...
Hi


I am collecting a selection of data using input boxes on my excel table

how do I identify the next empty row for entry of this data on the
worksheet?

thanks

portroe



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



All times are GMT +1. The time now is 02:38 PM.

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"