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: 1
Default LIKE in Excel VBA?


Hi, this seems like a pretty basic function so you will have to forgive
my ignorance. I want to delete all rows where a cell begins with a set
string. I have searched all over Google, but this is one of those
searches where I cannot quite seem to find the right words.

This is my conditional statement:
...
If ActiveCell.Value Like " Call%" Then
Selection.EntireRow.Delete
...

Cheers,

Anders.


--
Anders001
------------------------------------------------------------------------
Anders001's Profile: http://www.excelforum.com/member.php...o&userid=28030
View this thread: http://www.excelforum.com/showthread...hreadid=475335

 
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



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