Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Put Code On The Same Line 1

Status
Not open for further replies.

Quintios

Technical User
Mar 7, 2002
482
0
0
US
I have this ridicoulous code here:

Code:
        Select Case intStepCount
            Case 1
                S1
            Case 2
                S2
            Case 3
                S3
            Case 4
                S4
            Case 5
                S5
            Case 6
                S6
            Case 7
                S7
            Case 8
                S8
            Case 9
                S9
            Case 10
                S10
            Case 11
                S11
            Case 12
                S12
            Case 13
                S13
            Case 14
                S14
            Case 15
                S15
            Case 16
                S16
            Case 17
                S17
            Case 18
                S18
            Case 19
                S19
            Case 20
                S20
        End Select

Is there a way to put some of those statements on the same line to reduce the size of the module?

Thanks.

thx!

Q-
 
well im not sure if vb will let u do that with EVERY single line but you can use the ":" character to seperate instruction and put them in the same line....see what it does for you?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top