Solved

comment application for VB.

Posted on 2003-10-29
3
176 Views
Last Modified: 2010-05-01
I worked on a project where one of the devlprs pass around a comment application for commenting OUT code.  I no longer have this little tool and i now am working on a vba application where it would be very useful.

Its seem as though we had registered the app.  enter our name and title.
when we invoked it: it would drop in the necessary title bar.

so it essentially did at least 2 things:  
Droped in a title block
allowed the commenting out of large blocks of code.

if there is a shareware tool or something similiar please advise
thanks

bp
0
Comment
Question by:brianpowell
3 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 51 total points
ID: 9642386
Hi brianpowell,

http://www.mztools.com has a fairly useful add-in that does some if not all of this.

Tim Cottee MCSD, MCDBA, CPIM
Brainbench MVP for Visual Basic
http://www.brainbench.com
0
 
LVL 9

Expert Comment

by:dancebert
ID: 9642388
IN Vb, go to View | Toolbars | Customize menu selection.  Click on Commands tab, then select Edit from the Categories list.  Scroll down the right hand list until you come to the two entries 'Comment Block' and 'Uncomment Block'.  Drag and drop the two symbols to whatever toolbar you currently have displayed.  These work by commenting or uncommenting selected text.


This one doesn't actually comment it out, it just prevents it from executing

if false then
existing code
existing code
existing code
existing code
end if


0
 
LVL 1

Author Comment

by:brianpowell
ID: 9721751
The grade should be changed to an A but not sure how.

MZ Tool is the tool.

bp
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now