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...
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...
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...
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...
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...
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 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.