R
ryguy7272
2-part question:
#1) How do I fire event code by clicking a hyperlink? I don’t want to go
to a web site; just want to run a macro. I’m just looking for a way to click
a hyperlink and fire some code. Spent a bit of time searching online for a
solution but didn’t see anything.
#2) How do I copy/paste objects, such as radio buttons and some check
boxes, from a row above my active row, insert a row, and paste the objects
there?
Here’s the code that I’m fiddling with now:
Private Sub worksheet_selectionChange(ByVal Target As Range)
If Target.Address = "$A$15" Then
ActiveCell.Offset(1, 0).EntireRow.Insert
ActiveCell.Offset(-1, 0).EntireRow.Copy
Rows(ActiveCell.Row).PasteSpecial
End If
End Sub
The Hyperlink part isn’t working and the copy/paste objects part isn’t
working.
Appreciate any help with this!
Ryan---
#1) How do I fire event code by clicking a hyperlink? I don’t want to go
to a web site; just want to run a macro. I’m just looking for a way to click
a hyperlink and fire some code. Spent a bit of time searching online for a
solution but didn’t see anything.
#2) How do I copy/paste objects, such as radio buttons and some check
boxes, from a row above my active row, insert a row, and paste the objects
there?
Here’s the code that I’m fiddling with now:
Private Sub worksheet_selectionChange(ByVal Target As Range)
If Target.Address = "$A$15" Then
ActiveCell.Offset(1, 0).EntireRow.Insert
ActiveCell.Offset(-1, 0).EntireRow.Copy
Rows(ActiveCell.Row).PasteSpecial
End If
End Sub
The Hyperlink part isn’t working and the copy/paste objects part isn’t
working.
Appreciate any help with this!
Ryan---