PC Review


Reply
Thread Tools Rate Thread

Do Until Loop Hlpe

 
 
=?Utf-8?B?UEpGcnk=?=
Guest
Posts: n/a
 
      27th Aug 2007
Sub FindLine()

Range("I11").Select

Do Until ActiveCell = "Grand Total"
MsgBox "Please delete extra rows", vbOKOnly, "Extra Rows Found"
Exit Do
ActiveCell.Offset(1, 0).Select
MsgBox "Please Extend Range"
Loop

End Sub

 
Reply With Quote
 
 
 
 
=?Utf-8?B?UEpGcnk=?=
Guest
Posts: n/a
 
      27th Aug 2007
Stupid Enter key....

The real post is next.

"PJFry" wrote:

> Sub FindLine()
>
> Range("I11").Select
>
> Do Until ActiveCell = "Grand Total"
> MsgBox "Please delete extra rows", vbOKOnly, "Extra Rows Found"
> Exit Do
> ActiveCell.Offset(1, 0).Select
> MsgBox "Please Extend Range"
> Loop
>
> End Sub
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Simple window application with a loop and a button to eventuallystop the loop Joe Cool Microsoft C# .NET 15 29th Jul 2009 08:40 PM
returning back to loop check condition without completing the loop ashish128 Microsoft Excel Programming 13 3rd Apr 2008 12:53 PM
Loop to Filter, Name Sheets. If Blank, Exit Loop ryguy7272 Microsoft Excel Programming 3 5th Feb 2008 03:41 PM
loop through field names, then use to loop through records topopulate grid pmacdiddie@gmail.com Microsoft Access Form Coding 1 4th Jan 2008 01:13 PM
Convert loop with Match function to avoid nested loop??? Kobayashi Microsoft Excel Programming 2 17th Mar 2004 06:36 PM


Features
 

Advertising
 

Newsgroups
 


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