LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default Find Multiple Occurence Of Text In A Column

Orders come in by Outlook Express email. I copy the email to an Excel
worksheet and then I process the order. Orders may be multiple items. Each
item in the order begins with the words "Item Ordered" in column A which is
then followed by three rows regarding the item ordered and then a blank row.
How do I write the following in Excel VBA:

Find First "Item Ordered" in column A
<< Code to process the item ordered
Find Next "Item Ordered" in column A
If "Item Ordered" found Then
<< Code to process the item ordered
Else
Message "All items in order have been processed"
End If

Thanks for all help!

Steve


 
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
Find a First Occurence in a Column Kevin Barrios[_2_] Excel Discussion (Misc queries) 5 January 6th 10 08:37 PM
Find Last Occurence bill78759 New Users to Excel 6 April 27th 09 04:08 AM
find 2nd occurence Totti Excel Discussion (Misc queries) 6 November 18th 08 01:42 AM
Find Last Occurence in a Range with VBA jlclyde Excel Discussion (Misc queries) 2 October 1st 08 07:04 PM
Find first occurence of specific data in a column. Ben Excel Programming 3 May 24th 05 03:53 PM


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