I am trying to convert entries to integers. I have a matrix that I copied from a PDF file that looks like all integers but some of the integers have spaces. I tried the TRIM and REPLACE functions but VBA is showing, for example, a "3 " as "?3". So neither TRIM nor REPLACE work. How do I convert the "3 " to a "3" (without the quotes of course). Thanks much for any help. Jim