Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default How to check for next empty cell in list

BlankI'm fairly new to vba....if someone could assist please.......

What is the best code for checking for the next empty cell in a list?

A
1 a
2 b
3 c
4 d
5 <-- checking for this empty cell
6
7

Thanks for any help........
Don
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default How to check for next empty cell in list

BlankDon,

This should do it

Cells(Rows.Count,"A").End(xlUp).Offset(1,0).Select

--

HTH

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

"DonW" wrote in message ...
I'm fairly new to vba....if someone could assist please.......

What is the best code for checking for the next empty cell in a list?

A
1 a
2 b
3 c
4 d
5 <-- checking for this empty cell
6
7

Thanks for any help........
Don
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default How to check for next empty cell in list

BlankCells(1, 1).End(xlDown).Offset(1, 0).Select

"DonW" wrote in message
...
I'm fairly new to vba....if someone could assist please.......

What is the best code for checking for the next empty cell in a list?

A
1 a
2 b
3 c
4 d
5 <-- checking for this empty cell
6
7

Thanks for any help........
Don


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default How to check for next empty cell in list

BlankThanks Bob
"Bob Phillips" wrote in message ...
Don,

This should do it

Cells(Rows.Count,"A").End(xlUp).Offset(1,0).Select

--

HTH

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

"DonW" wrote in message ...
I'm fairly new to vba....if someone could assist please.......

What is the best code for checking for the next empty cell in a list?

A
1 a
2 b
3 c
4 d
5 <-- checking for this empty cell
6
7

Thanks for any help........
Don
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
Validation List that will not allow cell to be empty carusso Excel Worksheet Functions 11 January 27th 09 11:35 PM
list from empty data cell source rldjda Excel Worksheet Functions 1 March 19th 08 08:42 PM
compile list in 1st empty cell Steve Excel Discussion (Misc queries) 1 August 28th 06 01:44 AM
How do I check for an empty cell in a formula? sasquatchbill Excel Discussion (Misc queries) 4 August 8th 06 03:55 PM
vba - check if cell is empty joao Excel Programming 6 November 18th 03 03:12 PM


All times are GMT +1. The time now is 10:43 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"