Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

comment

Posted on 1999-07-07
8
Medium Priority
?
142 Views
Last Modified: 2012-05-04
What's the easiest way to make some lines not a single line be a comment?

There are some lines I coded.
and I want some lines to be ineffective.

Must I add the sign ' at the beginning of each line one by one?

It's tedious to insert ' sign in each line as opposed to Powerbuilder which allows me to make some lines be comments very easily.
0
Comment
Question by:iamjhkang
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 3

Accepted Solution

by:
HATCHET earned 0 total points
ID: 1522647
iamjhkang,

1)  Right click on one of the ToolBars you have in Visual Basic & select "Customize"
2)  Click on the "Edit" option to add the Edit ToolBar
3)  There is a set of green icons, one with an arrow.  One is "Comment Block", the other is "Uncomment Block"  These are the ones to use
4)  Highlight a section of code
5)  Click the "Comment Block" to comment out the whole highlighted text block
6)  Click the "Uncomment Block" to do the opposite


HATCHET
0
 
LVL 1

Author Comment

by:iamjhkang
ID: 1522648
Thank you so much.

I works.
0
 
LVL 7

Expert Comment

by:Inteqam
ID: 1522649
:o)

0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 10

Expert Comment

by:caraf_g
ID: 1522650
Powerbuilder. Yuck. :o)
0
 
LVL 1

Author Comment

by:iamjhkang
ID: 1522651
Hi,caraf_g.
Powerbuilder, Yuck?
Why? Any special reasons?
0
 
LVL 10

Expert Comment

by:caraf_g
ID: 1522652
No, I'm just a prejudiced fool!
0
 

Expert Comment

by:meiyi
ID: 5019120
wow.... i din know i can highlight that..muahahaa..:))
0
 
LVL 10

Expert Comment

by:caraf_g
ID: 5020119
hehe
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses

688 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