Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Hru48
 
Posts: n/a
Default Do until cell is empty


Hey,

I have a macro that at the end of each irrteration deletes a cell from
colum A. How do i tell it to run until it runs of of values in column
A? Column A is empty

Cheers


--
Hru48
------------------------------------------------------------------------
Hru48's Profile: http://www.excelforum.com/member.php...o&userid=24895
View this thread: http://www.excelforum.com/showthread...hreadid=397701

  #2   Report Post  
FSt1
 
Posts: n/a
Default

hi.
dim c as range 'current
dim n as range 'next
set c = range("A1")
do while not isempty(c)
set n = c.offset(1,0)
your code here
set c=n
loop

regards
FSt1
"Hru48" wrote:


Hey,

I have a macro that at the end of each irrteration deletes a cell from
colum A. How do i tell it to run until it runs of of values in column
A? Column A is empty

Cheers


--
Hru48
------------------------------------------------------------------------
Hru48's Profile: http://www.excelforum.com/member.php...o&userid=24895
View this thread: http://www.excelforum.com/showthread...hreadid=397701


  #3   Report Post  
Hru48
 
Posts: n/a
Default


Thanks alot :)


--
Hru48
------------------------------------------------------------------------
Hru48's Profile: http://www.excelforum.com/member.php...o&userid=24895
View this thread: http://www.excelforum.com/showthread...hreadid=397701

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
Cell color based upon cell value My View Excel Discussion (Misc queries) 11 July 6th 05 03:59 AM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM
How do I not include empty cell value chart labels in pie charts? JMarble Charts and Charting in Excel 1 May 13th 05 08:38 PM
make a cell empty based on condition mpierre Charts and Charting in Excel 2 December 29th 04 01:01 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


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