I have written code to covert text to numbers, but the text is not being converted to numbers
It would be appreciated if someone could amend my code
![]()
Please Login or Register to view this content.
I have written code to covert text to numbers, but the text is not being converted to numbers
It would be appreciated if someone could amend my code
![]()
Please Login or Register to view this content.
Your macro has some errors in it which I have corrected below (see Note 1 below). Also, you should compare my code to yours to see what I changed (besides the indenting).
NOTE 1: Your sheet is named "Sheet1" not "Data" so I changed that in the code; you were missing a With statement; the quote marks around the "A" in your Cells object were the wrong kind of quote marks.![]()
Please Login or Register to view this content.
NOTE 2: You have manually set the cells' horizontal alignment to "Left Align"... you should remove that.
Last edited by Rick Rothstein; 02-10-2021 at 11:43 PM.
Thanks for the help Rick
I have noted your comments
Rick touched on the fact that you were left aligned (not you as such but the data)![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks