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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top