Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I find I am able to use <target only in event modules of sheet or this
workbook but not in standarad module nor as worksheet funciton.. I would like to have some more ideas of useof <target. I find I can use <activecell instead of <target in standard module. thanks regards |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Target is just the name of an argument. In a worksheet event code procedure
such as Change, VBA passes the target cell(s) to the event procedure. Target is just a convenient name, you could use anything you want, and as long as you stay consistent, it will work (try it!). -- HTH RP (remove nothere from the email address if mailing direct) "R.VENKATARAMAN" &&& wrote in message ... I find I am able to use <target only in event modules of sheet or this workbook but not in standarad module nor as worksheet funciton.. I would like to have some more ideas of useof <target. I find I can use <activecell instead of <target in standard module. thanks regards |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
thank you for that clarification. i experimented. I used in worksheet_change
event instead of <target the argument <cell. it works. Bob Phillips wrote in message ... Target is just the name of an argument. In a worksheet event code procedure such as Change, VBA passes the target cell(s) to the event procedure. Target is just a convenient name, you could use anything you want, and as long as you stay consistent, it will work (try it!). -- HTH RP (remove nothere from the email address if mailing direct) "R.VENKATARAMAN" &&& wrote in message ... I find I am able to use <target only in event modules of sheet or this workbook but not in standarad module nor as worksheet funciton.. I would like to have some more ideas of useof <target. I find I can use <activecell instead of <target in standard module. thanks regards |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The reason we all use target is partly because it is a meaningful name, but
more relevant is the fact that when you use the dropdowns in the worksheet code module then it creates an outline procedure with Target already defined as its range argument name. -- HTH RP (remove nothere from the email address if mailing direct) "R.VENKATARAMAN" &&& wrote in message ... thank you for that clarification. i experimented. I used in worksheet_change event instead of <target the argument <cell. it works. Bob Phillips wrote in message ... Target is just the name of an argument. In a worksheet event code procedure such as Change, VBA passes the target cell(s) to the event procedure. Target is just a convenient name, you could use anything you want, and as long as you stay consistent, it will work (try it!). -- HTH RP (remove nothere from the email address if mailing direct) "R.VENKATARAMAN" &&& wrote in message ... I find I am able to use <target only in event modules of sheet or this workbook but not in standarad module nor as worksheet funciton.. I would like to have some more ideas of useof <target. I find I can use <activecell instead of <target in standard module. thanks regards |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Automaticly changing average function target cells | Excel Worksheet Functions | |||
Target cell reference moves when target is cut and pasted | Excel Discussion (Misc queries) | |||
Use Vlookup or similiar function to find the row of the target cel | Excel Discussion (Misc queries) | |||
Target | Excel Worksheet Functions | |||
How find if target is object in Worksheet_Change (ByVal Target As.. ?) | Excel Programming |