target.address

  1. FracinDean

    Worksheet Change Event Using Named Ranges

    Can I use named ranges to trigger actions using the Worksheet Change event? I'm having trouble discovering the correct syntax. I tried Target.Range and Target.Name and Target.Address but those didn't work for me. I have several different cells & actions, so something with a SELECT / CASE...
  2. J

    Automatic GoalSeek With Calculated Target.Address

    Hi. I'm very new to VBE, and while I've almost got an automatic GoalSeek function worked out, there's one last problem that I can't seem to find a way around (or a thread that covers it). As it stands, I can manually enter a value in cell B4 of the sheet with my GoalSeek function, and Excel...
  3. B

    target.address query

    Afternoon all I have the following code... Private Sub Worksheet_Change(ByVal Target As Range) If Target.Address = "$C$316" Then Chart_DownMonths End If If Target.Address = "$C$318" Then Chart_DownMonths End If End Sub ...but wanted to know who I can change the absolute...
  4. C

    Target.Address wont triger AutoFit code in Excel 07

    Hi, Im trying to get rows to autofit every time cell b5 changes. Tried several things but still can't figure it out. Thanks In Cell b5, there is a drop-down list via data validation. The data in the range of B10:E61 will automatically change referencing to the same location of another...
  5. A

    simplifying code- loop??

    I have the following code. I would like to do this same operation for several more rows. I'm sure there has got to be a way to simplify this using some type of loop or variables, but I can't figure it out. What I am doing is pasting copied text into the cell when I click on it, then looking...
  6. L

    Change target address to range name

    Hi, I have a few worksheet change events like the below, but I want to change the "If Target.Address(0,0) = "L17"" so that L17 refers to the "Office" range instead. What words do I need to replace to make this work? Thanks in advance Private Sub Worksheet_Change(ByVal Target As Range) 'The...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top