Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / July 2007

Tip: Looking for answers? Try searching our database.

strings

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RobcPettit@yahoo.co.uk - 18 Jul 2007 13:42 GMT
In, Id like to write a macro to look at a cell to see if it contains a
particular word. eg if  i had " Id like to write a macro to look at a
cell " in   a1, and i want to see if the sentance contains "macro".
How would I go about  this. I know how to move through the cells just
not how to look at the text.
Regards Robert
Don Guillett - 18 Jul 2007 14:09 GMT
Look in the vba help index for INSTR
if instr>0
Signature

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com

> In, Id like to write a macro to look at a cell to see if it contains a
> particular word. eg if  i had " Id like to write a macro to look at a
> cell " in   a1, and i want to see if the sentance contains "macro".
> How would I go about  this. I know how to move through the cells just
> not how to look at the text.
> Regards Robert

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.