how do you set a variable in VBA (excel) from a partial cell value?
Im trying to set a variable in VBA in excel by using just a part of a cell.
The cell contains "Number: XXXXXX"
where the X's are the number
I need the number set as a variable without the "number:" part in the variable. I can set the entire cell as a variable, but not part of it. Any idea how to do this?
Sorry, I should have been clearer, The "number" contains alphanumeric charecters. But I see what you did... I'll see if I can change it around.
Thanks alot for your help.