Forum Discussion

cindix's avatar
cindix
Copper Contributor
Jan 17, 2023

Find and Replace Macro with Mask

Hi,

 

I'm new to VBA macros, but most commands I understand.

Now I need something in a expert level, so if anyone can help me, it would be much appreciated.

 

I need to find and replace a random number with this format: 12.345/67 

to this: 12.345 de 67. Basicly I have to substitute the slash to " de ". 

So the compiler has to keep the number at the exact same order, just changing that.

 

I know how to find this, by using ^# or ?

The thing is the replace text box won't accept special characters such as those, and won't understand the correct numbers, even if I would use special characters.

Resources