View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Mark Thorpe[_3_] Mark Thorpe[_3_] is offline
external usenet poster
 
Posts: 8
Default Draw border above specific text string

I'm not sure I follow exactly what you're trying to do. Is it that you want
a routine which will draw a border above any cell which contains text which
includes, as a substring, whatever text is in cell D1?


"Rashid Khan" wrote in message
...
Hello All,
I am using Office XP and have the following problem:

I have many thousand Rows of Data in a Sheet.
I wish to make a Selection and run the macro which should draw a border in
red colour above a text string which is written in D1 for eg Membership

The border in red colour should be drawn on the row above the word
Membership in the Sheet. Pls note that the macro should run for any text
string entered in D1 as a part only.. I mean it should be treating Member,
Membership, Membership No. etc etc... all as one. Because my Sheet has a
value Membership No. xxxx (where xxxx differs for each record)

Any help or suggestions
Can this be achieved?
Many thanks in advance

Rashid Khan