PageBreaks in Code Listings

D

Dave Wetmore

I've looked (unsuccessfully) for a way to insert page breaks in VBA code listings so they print nicely.
How do I do this?
 
K

Klatuu

You can't. VBA is not stored the way you see it. Putting a page break in
the code would cause a compile error.

If you need to waste time and paper by printing out code, Use the File
Export wizard in the VBA editor. It will want to save it as a .bas file.
Change the extension to .doc, open the exported file with Word, and put in
your breaks.

Hopefully, it wont be out of date before you get it in a binder :)
 

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