Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default VBA - Copy paste all Modules

Hi, is there a way to programmatically copy and paste (into a text
file, say) all Subs, Functions etc from all Modules in an Excel
workbook?

This is so I can use this as project documentation. I have tried
MZTools but can't see where I can do the above.
Thanks for any pointers.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default VBA - Copy paste all Modules

You could write code to do it, but you could also do it manually quicker than
the time it would take to write the code. I archive most of mine in MS Word
in Courier font, but that requires formatting and some manipulation of the
text after it is pasted into Word. It would probably be easier to paste it
into Notebook or a similar text file where it would retain your indents and
would require minimum maniputlation.

" wrote:

Hi, is there a way to programmatically copy and paste (into a text
file, say) all Subs, Functions etc from all Modules in an Excel
workbook?

This is so I can use this as project documentation. I have tried
MZTools but can't see where I can do the above.
Thanks for any pointers.


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
corrupted .xls / Copy Modules??? Bret Excel Programming 1 January 9th 06 09:56 PM
Public, Private, Event modules, Forms modules,,, Jim May Excel Programming 11 October 31st 05 03:12 AM
Basic question - modules and class modules - what's the difference? Mark Stephens[_3_] Excel Programming 9 May 8th 05 11:48 AM
Need to compare code in multiple modules to a master copy Dave[_2_] Excel Programming 4 November 17th 04 02:09 PM
Save a copy of a Workbook without its modules Jordi Pocurull Excel Programming 1 September 7th 04 01:14 PM


All times are GMT +1. The time now is 12:40 PM.

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"