Hello, I attempted to write my first macro in excel. I watched a tutorial, everything was going great, but its not working right and I don't know why. I have a spreadsheet that has two columns of text Each column has 6,258 rows. The problem is due to a printout of a directory listing that i moved into notepad then word then excel. What it did is placed a blank space before each set of text in every cell.
Manually removing it can be done by pressing F2 Home Del Enter....6258 times!!! When i recorded the macro F2 Home Del Enter I named it temp and gave it a ctrl A shortcut. When I ran the shortcut it fixed the first two cells. A1 and A2. They both had " 10 Years" It switched it to "10 years". No space before the 10 years. That was great (p.s. the " are not in the cells). The next 6 cells down's data reads " 3 Doors Down" I was expecting the macro to change it to "3 Doors Down" but it did not. It changed it "10 Years". Not Good, So what did I do wrong? Can the macro recorder not take F2 or Home or Delete or enter?
Any help would be appreciated
Thanks
DOug
Bookmarks