RaunLGoode
Registered User.
- Local time
- Today, 03:30
- Joined
- Feb 18, 2004
- Messages
- 122
I have a sub that reads a cell value and stores it as a variable with a data type "String"
everything runs well until I hit a range with "#N/A" as the cell value.
This causes a type mismatch error
If I modify the cel value to "Number N/A" everything works just fine.
Is there some way to Trap the "# " character and modify it so the string doesn't cause an error?
Are there any other characters that will cause this type of error?
everything runs well until I hit a range with "#N/A" as the cell value.
This causes a type mismatch error
If I modify the cel value to "Number N/A" everything works just fine.
Is there some way to Trap the "# " character and modify it so the string doesn't cause an error?
Are there any other characters that will cause this type of error?