aheverett1
New Member
- Joined
- May 23, 2017
- Messages
- 16
Hello all,
I'm sure this is an extremely easy fix for a seasoned excel pro but i just can't find the answer. Here is the code i have in another function and it works just fine for copying data into cells.
'copy Fixture Locations, Quantity, and Ceiling Height
Worksheets(Worksheets("Electrical Options").Range("B9").Value).Range("A6:C46").Copy
Worksheets("Fixture Selections").Range("A10").PasteSpecial _
Paste:=xlPasteValues, _
Operation:=xlPasteSpecialOperationNone, _
SkipBlanks:=False, _
Transpose:=False
Now i want to pretty much use the same code but put the value into a activex textbox using a command button. I would be removing the range "A6:C46" and just making it one cell range, say "A8".
Thank you for the help!
I'm sure this is an extremely easy fix for a seasoned excel pro but i just can't find the answer. Here is the code i have in another function and it works just fine for copying data into cells.
'copy Fixture Locations, Quantity, and Ceiling Height
Worksheets(Worksheets("Electrical Options").Range("B9").Value).Range("A6:C46").Copy
Worksheets("Fixture Selections").Range("A10").PasteSpecial _
Paste:=xlPasteValues, _
Operation:=xlPasteSpecialOperationNone, _
SkipBlanks:=False, _
Transpose:=False
Now i want to pretty much use the same code but put the value into a activex textbox using a command button. I would be removing the range "A6:C46" and just making it one cell range, say "A8".
Thank you for the help!