Value on worksheet with fullstop either side

  • Thread starter FIRSTROUNDKO via OfficeKB.com
  • Start date
F

FIRSTROUNDKO via OfficeKB.com

Hi all,

Can somebody please tell me how to use the value from the worksheet i.e Cell
F10 to perform the code below

If Cells(nb, 7).Value Like "*.134.*" Then

I would like to replace 134 with any number, but there is a double
complication that the number has a full stop either side of it

Thanks in Advance
 
B

Bob Phillips

Do you mean?

If Cells(nb, 7).Value Like "*." & myNum & ".*" Then


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top