View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Papa Jonah Papa Jonah is offline
external usenet poster
 
Posts: 148
Default using match in vba without assigning a cell

I am trying to use the match function to assign a value to a variable.
I do not want to put the match syntax in a cell. I just want the result to
be able to be referred to later in an If then statement. I have tried:

startbase = Match(begbase, "a:a")
but that does not work.

Any suggestions would be appreciated.
TIA