makingtrails
New Member
- Joined
- Nov 20, 2012
- Messages
- 14
Hi Guys,
I have been looking for a solution to a "Find and Replace" script but having problems finding the exact one for me requirements.
Basically I have 10 columns (A2, B2, C2 etc) all with text that I export to an external database via CSV but within this text are invalid characters which my database doesn't like.
These are for instance
— ™ „ “ ” …
What I need is a VBA script which I can run which replaces these characters with one's I can set in the script.
For instance
Find "—" & Replace with "-"
Find "™" & Replace with ""
Find "…" & Replace with "..."
Can anyone point me to post that explains how to do this?
Thanks
J
I have been looking for a solution to a "Find and Replace" script but having problems finding the exact one for me requirements.
Basically I have 10 columns (A2, B2, C2 etc) all with text that I export to an external database via CSV but within this text are invalid characters which my database doesn't like.
These are for instance
— ™ „ “ ” …
What I need is a VBA script which I can run which replaces these characters with one's I can set in the script.
For instance
Find "—" & Replace with "-"
Find "™" & Replace with ""
Find "…" & Replace with "..."
Can anyone point me to post that explains how to do this?
Thanks
J