Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 576
Default Improved printing of VBA code?

Revolvr,

I have copied and pasted to Word, Excel, NotePad, etc. It's like any other
copy and paste. The only problem I have encountered is copying from an
Excel worksheet and pasting into one of these posts - for some reason the
font comes out small.

Unfortunately - when you paste it back into a code module you may have a few
minor problems:
The color formating won't carry into the module.
Sometimes the paste carries spaces that Excel doesn't like and comes up
with an error. You'll need to compile your code to avoid this. I see
this
mostly when copying code from the forum and pasting it into a module.

But pasting into Word is a great way to document and store code.
I have a special Excel workbook (worksheets) filled with code (for
reference). Now I have a central source to help write code.

--
sb
"Revolvr" wrote in message
news:YXK3b.9443$QT5.1344@fed1read02...
Printed VBA code is harder to read than on-screen. I would like to copy

and
paste the code into Word then format it to be more readable, including for
example:
* Changing font to Courier
* Change color of comments
* Bold Subroutine/Function and end Sub/Function lines
* Other?

Has anyone created Word macros to improve the formatting/readability of
printed VBA code?

TIA

-- Rev




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
In what way has excel 2007 improved on Array functions? Ramki91 Excel Worksheet Functions 4 July 11th 09 02:24 AM
Need Improved String Formula Tiziano Excel Worksheet Functions 9 April 29th 09 02:54 AM
improved chart in Excel Dion Charts and Charting in Excel 3 June 12th 08 05:40 PM
separate cell values with formulas - can this be improved? ilia Excel Worksheet Functions 23 August 9th 07 12:08 AM
[XL] Edit Mode of formulae should be improved in legibility. L.A. Slingerland Excel Worksheet Functions 0 July 8th 05 09:32 AM


All times are GMT +1. The time now is 03:53 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"