Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 95
Default Grouping/Collapsing lines in VBA editor - xl2000

Is it possible in the VBA editor to group and/or collapse nested code? Example:
For x=1 to Len(empname)
currchar=Mid$(empname,x,1)
If currchar=" " Then
do something
Else
do something else
End If
Next x

Collapse the if-endif code leaving only the following visible:

For x=1 to Len(empname)
currchar=Mid$(empname,x,1)

Next x

I've used this in HTML editors and it's wonderful.
--
Adios,
Clay Harryman
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Grouping/Collapsing lines in VBA editor - xl2000

Nope...
--
HTH...

Jim Thomlinson


"Clayman" wrote:

Is it possible in the VBA editor to group and/or collapse nested code? Example:
For x=1 to Len(empname)
currchar=Mid$(empname,x,1)
If currchar=" " Then
do something
Else
do something else
End If
Next x

Collapse the if-endif code leaving only the following visible:

For x=1 to Len(empname)
currchar=Mid$(empname,x,1)

Next x

I've used this in HTML editors and it's wonderful.
--
Adios,
Clay Harryman

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 95
Default Grouping/Collapsing lines in VBA editor - xl2000

Rats!

Thanks, though!
--
Adios,
Clay Harryman


"Jim Thomlinson" wrote:

Nope...
--
HTH...

Jim Thomlinson


"Clayman" wrote:

Is it possible in the VBA editor to group and/or collapse nested code? Example:
For x=1 to Len(empname)
currchar=Mid$(empname,x,1)
If currchar=" " Then
do something
Else
do something else
End If
Next x

Collapse the if-endif code leaving only the following visible:

For x=1 to Len(empname)
currchar=Mid$(empname,x,1)

Next x

I've used this in HTML editors and it's wonderful.
--
Adios,
Clay Harryman

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
collapsing rows together Chris Excel Worksheet Functions 1 November 14th 08 08:19 AM
collapsing rows Jim S. Excel Worksheet Functions 5 December 5th 07 10:17 PM
Collapsing Rows EdCPA Excel Discussion (Misc queries) 2 September 22nd 05 01:19 AM
Collapsing Code Cody Excel Programming 2 August 15th 05 11:16 PM
Collapsing a table jayceejay Excel Programming 3 October 14th 04 08:29 PM


All times are GMT +1. The time now is 02:14 PM.

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

About Us

"It's about Microsoft Excel"