Hello. I have a file I need to make changes to before importing it to another workbook. I recorded a macro that makes the changes for me. In the code I have two questions. Column A:A has a series of numbers, but they contain a SPACE at the end of the number. I need to delete that space at the end of every number in the whole column. Why does it not delete the space at the end of each number in column A:A? It only deletes the one in the first cell A2. The macro must rename the sheet in that file TPCC always, but the name of the sheet will change from one month to the other for example this month its TreimentosPorCentroDeCusto but next month it could be TreimentosPorCentroDeCusto (4). How can it make the change no matter what the name might be? I have posted part of the code below for reference.
Bookmarks