phillipclark
Board Regular
- Joined
- Sep 10, 2013
- Messages
- 65
Good Afternoon All,
Question? How can I fill in cells from a named group that is selected from either a drop list or combo box.
Here is the code. I tried using the Macro record function but was not successful.
I have 7 different names that can be selected from the list.
Also there are 7 different named groups that based on selection need to be copied and pasted in the Sheet 2 range R50:V62
Any help would be greatly appreciated as I have not been successful on my own
Thank you
Question? How can I fill in cells from a named group that is selected from either a drop list or combo box.
Here is the code. I tried using the Macro record function but was not successful.
I have 7 different names that can be selected from the list.
Also there are 7 different named groups that based on selection need to be copied and pasted in the Sheet 2 range R50:V62
Any help would be greatly appreciated as I have not been successful on my own
Thank you
Code:
Private Sub ListBox1_Click()
ActiveSheet.Shapes.Range(Array("ListBox1")).Select
Sheets("Sheet3").Select
Range("Finger_Weight").Select
Selection.Copy
Sheets("Sheet2").Select
Range("R50:V62").Select
ActiveSheet.Paste
End Sub