Question about macro in vc++

P

Philippe

I'm using vc++ in vs.net 2003 and I would like to do a macro wich remove all
double enter in the currently edited document.

Is there an easy way to do this?

Thanks
 
J

JackD

I think you have posted this in the wrong newsgroup. This is for Microsoft
Project VBA.
If it is a word document I'd consider posting there. Otherwise if is it
purely a text document you could open the file and go through character by
character. Store the previous character and compare with the current one. If
they are both carriage returns then delete the second one.


-Jack
 
Top