LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 247
Default Worksheet_Change(ByVal Target As Range) - Big Problems

I just "discovered" this by accident a few weeks ago.
Have LOTS of application for it - but having problems setting it up.

Situation:
Have Five Groups.
The First Line of Each Group will have the "trigger" in Cell E?
Each Group has range name for complete group.

If group 1 selected, the "undo" instructions of group 2 seem to void what
the original selection was trying to do.
Is there a way to get around this?

If Range("FBSMINT") 0 Then ' "trigger" cell
Call FLBIN_SMI_H ' This hides the group 2, 3, 4,
and 5 ranges
Else
If Range("FBSMINT") = 0 Then ' "trigger" cell, again
Call FLBIN_SMI_UH 'This Unhides the group 2, 3, 4
and 5 Ranges
End If
End If

If Range("FBSAINT") 0 Then
Call FLBIN_SAI_H ' This hides group 1, 3, 4 and
5 ranges
Else
If Range("FBSAINT") = 0 Then
Call FLBIN_SAI_UH ' This Unhides group 1, 3, 4 and
5 Ranges
End If
End If

Therefore, If group 1 is selected, the Unhide instructions in group 2 undo,
what group 1 is trying to do. However, I do need some whay of "unhiding" in
case of a mistake or change of mind.

End Result : As various selections are made within the various groupings on
the contract templates, the template will shorten considerably, making it
much easier to view and work with, by the salesmen.

I hope my attempted explanations are not too convoluted.
As you can see, I have no problem utilizing standard modules together with
the worksheet module - I think it actually helps keep things clearer.

I sure hope someone can help me with this. I'm very excited about what I see
as the possibilities for this application.

 
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
REPSOT?? Sub Worksheet_Change(ByVal Target As Range) Ed Davis[_2_] Excel Discussion (Misc queries) 14 October 13th 09 03:20 PM
Using Worksheet_Change(ByVal Target As Range) Les G Excel Programming 6 November 13th 07 12:40 AM
Private Sub Worksheet_Change(ByVal Target As Range) Paige Excel Programming 1 May 17th 07 12:16 AM
Private Sub Worksheet_Change(ByVal Target As Range) pd1234321 Excel Programming 5 December 8th 06 04:11 AM
Many Sub Worksheet_Change(ByVal Target As Range) In One Worksheet MathewPBennett Excel Programming 4 December 24th 03 01:01 PM


All times are GMT +1. The time now is 01:21 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"