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

--- now my problem is that I want code to always check the value of tex
in the field C2 and then go on to the next value D2 , E2 etc ~ Do
need to set another loop or somehow select the range ?



Range (“B2”).Select

Do while IsEmpty(ActiveCell.offset(0,1)) = False

If Mid(C2,23,15) = “Calendar Spread” then



ActiveCell.Rows(“2:2”).EntireRow.Select

Selection.Delete

ActiveCell.Offset(0,6).Select



Else



ActiveCell.Offset(1,0).Select



End if



Loo

--
Message posted from http://www.ExcelForum.com

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
text fragment comparison ChrisM Excel Worksheet Functions 2 January 6th 10 11:42 PM
Comparison of two lists of text and finding commonalities PayPaul Excel Discussion (Misc queries) 5 December 20th 07 11:05 PM
Text comparison - closest match pappu Excel Discussion (Misc queries) 5 July 6th 06 10:41 AM
Text comparison in adjacent cells Andy Excel Discussion (Misc queries) 3 January 23rd 06 05:58 PM
If then Cell comparison with text. SS[_3_] Excel Programming 1 February 2nd 04 10:50 PM


All times are GMT +1. The time now is 03:26 AM.

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"