Hi everyone,
I am making a tool to convert a messy data sheet with thousands of rows, coming out of an online pdf-to-excel converter, into a series of separate worksheets containing the necessary associated data. Each sheet is named after a section of the data, and this sheet name is used to collect all the corresponding data from the big input sheet.
Unfortunately, the sections can have '/' symbols or other illegal sheet-name characters in them, so I would need to replace all '/' in the document with a '-' symbol.
The problem is that the online tool also creates cells with '/' that start with the symbol '=', so excel thinks they are formulas, even though the cell format is set to text, and will give an error when I try to change them.
Is there a way in VBA to do 'replace all' on millions of cells at once, but skipping all cells that start with the '=' symbol? I can't replace the '=' symbol itself, as my tool uses it as a marker to find the correct values that it needs.
Thanks in advance!
I am making a tool to convert a messy data sheet with thousands of rows, coming out of an online pdf-to-excel converter, into a series of separate worksheets containing the necessary associated data. Each sheet is named after a section of the data, and this sheet name is used to collect all the corresponding data from the big input sheet.
Unfortunately, the sections can have '/' symbols or other illegal sheet-name characters in them, so I would need to replace all '/' in the document with a '-' symbol.
The problem is that the online tool also creates cells with '/' that start with the symbol '=', so excel thinks they are formulas, even though the cell format is set to text, and will give an error when I try to change them.
Is there a way in VBA to do 'replace all' on millions of cells at once, but skipping all cells that start with the '=' symbol? I can't replace the '=' symbol itself, as my tool uses it as a marker to find the correct values that it needs.
Thanks in advance!