Your If statement is looking for "004", etc. I would think that the zeros don't exist, they are put there by Formatting so nothing would be found.
The Select case is much neater
Your If statement is looking for "004", etc. I would think that the zeros don't exist, they are put there by Formatting so nothing would be found.
The Select case is much neater
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks