Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default Worksheet_SelectionChange(ByVal Target As Range) questions

excel pros:

1. is it acceptable to place more than 1 control per sheet? if so, is there
some limit?

2. is there any way to have one control applied to every sheet, or a range
of sheets? or, does the code have to be placed on each sheet?

thanks

--


Gary



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Worksheet_SelectionChange(ByVal Target As Range) questions

Hi Gary,

1. is it acceptable to place more than 1 control per sheet? if so, is
there some limit?


I am not sure what you mean by 'control' in this context, but looking at
your subject for clues, the event code can respond to multiple triggers.
Please provide some additional explanation.

2. is there any way to have one control applied to every sheet, or a range
of sheets? or, does the code have to be placed on each sheet?


Look at Workbook event procedures and, specifically at the
Workbookbook_SheetSelectionChange event. Thie event corresponds to the
Worksheet_SelectionChange event but operates at workbook level, i.e. the
event occurs with selection change on any worksheet.


---
Regards,
Norman



"Gary Keramidas" wrote in message
...
excel pros:

1. is it acceptable to place more than 1 control per sheet? if so, is
there some limit?

2. is there any way to have one control applied to every sheet, or a range
of sheets? or, does the code have to be placed on each sheet?

thanks

--


Gary





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default Worksheet_SelectionChange(ByVal Target As Range) questions

ok, thanks.

you guessed what i meant. multiple events triggers on each worksheet code
page.

--


Gary


"Norman Jones" wrote in message
...
Hi Gary,

1. is it acceptable to place more than 1 control per sheet? if so, is
there some limit?


I am not sure what you mean by 'control' in this context, but looking at
your subject for clues, the event code can respond to multiple triggers.
Please provide some additional explanation.

2. is there any way to have one control applied to every sheet, or a
range of sheets? or, does the code have to be placed on each sheet?


Look at Workbook event procedures and, specifically at the
Workbookbook_SheetSelectionChange event. Thie event corresponds to the
Worksheet_SelectionChange event but operates at workbook level, i.e. the
event occurs with selection change on any worksheet.


---
Regards,
Norman



"Gary Keramidas" wrote in message
...
excel pros:

1. is it acceptable to place more than 1 control per sheet? if so, is
there some limit?

2. is there any way to have one control applied to every sheet, or a
range of sheets? or, does the code have to be placed on each sheet?

thanks

--


Gary







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
Sub Worksheet_Change(ByVal Target As Excel.Range) Questions Wescotte Excel Programming 3 July 18th 05 06:28 PM
Sub Worksheet_Change(ByVal Target As Excel.Range) Questions Wescotte Excel Programming 3 June 29th 05 10:53 PM
Ranges:Target in Worksheet_SelectionChange(ByVal Target As Range) Kevin McCartney Excel Programming 3 April 15th 05 01:51 PM
Private Sub Worksheet_SelectionChange(ByVal Target As Range) Arturo Excel Programming 2 January 7th 05 06:59 PM
what does (ByVal Target As Range) mean Zygoid[_7_] Excel Programming 6 January 31st 04 05:08 PM


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