View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Tomek[_8_] Tomek[_8_] is offline
external usenet poster
 
Posts: 8
Default Can we use "*" to replace string in VBA excel macros ?

Hello,

Can we use "*" to replace any text or spaces in macros ?

For example :

1)is string " quite new book xxxx " the same as string
" quite new" & "*" , probably not , I tried to do it like that but
it wasn't working at all.

2) how to write it in macro , if I want to compare a cell that is filled
only with a text and other cell if there is the same text but there are
also spaces and other text?


If there is the same text in both column, despite some additional text
or spaces in one cell, I want to offset(0,1) it.


Thank you very much for help

--
Tomek