PageBreaks in Code Listings

  • Thread starter Thread starter Dave Wetmore
  • Start date Start date
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?
 
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 :)
 
Back
Top