Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I would like to run a macro simply by entering a value in a particular
cell. Is this possible? thanks in advance.... |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi,
copy this macro on the page code of this sheet Private Sub Worksheet_Change(ByVal Target As Range) Set isect = Application.Intersect(Target, Range("A1")) If Not isect Is Nothing Then ' write here what to do End If End Sub -- isabelle Le 2012-01-19 13:13, jt a écrit : I would like to run a macro simply by entering a value in a particular cell. Is this possible? thanks in advance.... |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Jan 19, 1:13*pm, jt wrote:
I would like to run a macro simply by entering a value in a particular cell. Is this possible? thanks in advance.... thanks for the response. How do I make the value I just entered be the search value? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On 21/01/2012 1:41 PM, jt wrote:
On Jan 19, 1:13 pm, wrote: I would like to run a macro simply by entering a value in a particular cell. Is this possible? thanks in advance.... thanks for the response. How do I make the value I just entered be the search value? Hi JT Isabelle has given you a cell reference of A1 as the target cell. So when you change the value in that cell it will trigger whatever additional code you want it to trigger. You can change the cell reference to any cell that fits your requirement, other than that you will have to be more specific on what it is you want to initiate beyond the Target Cell OnChange Event. The more detail you can provide the more likely you will get the answer you need a lot quicker. HTH Mick. |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Jan 21, 7:13*am, Vacuum Sealed wrote:
On 21/01/2012 1:41 PM, jt wrote: On Jan 19, 1:13 pm, *wrote: I would like to run a macro simply by entering a value in a particular cell. Is this possible? thanks in advance.... thanks for the response. How do I make the value I just entered *be the search value? Hi JT Isabelle has given you a cell reference of A1 as the target cell. So when you change the value in that cell it will trigger whatever additional code you want it to trigger. You can change the cell reference to any cell that fits your requirement, other than that you will have to be more specific on what it is you want to initiate beyond the Target Cell OnChange Event. The more detail you can provide the more likely you will get the answer you need a lot quicker. HTH Mick. I would like to initiate a macro that will search a range of data for a particular value |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Worksheet_Change - initiate macro on another worksheet | Excel Programming | |||
Initiate Macro via change in drop Down List | Excel Programming | |||
How do I initiate a macro directly in a worksheet? | Excel Programming | |||
Initiate Macro On Save | Excel Programming | |||
Macro to initiate a spreadsheet to email | Excel Programming |