Hi all,
I am having an issue with my copy paste code. Here is my code:
So I have a drop down in cell B49. The options are Black and Other. If other is selected then B50 appears and you can type a color in. This code constantly pastes nothing into the cell I have it pasting in. Any ideas on what could be causing this?
Thanks for all the help.
I am having an issue with my copy paste code. Here is my code:
Code:
If Range("B49").Value = "Other" Then Sheets("Sheet1").Range("B50").Copy
Sheets("Sheet2").Activate
lastrow = Range("D65536").End(xlUp).Row
Cells(lastrow + 1, 32).PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=True
ElseIf Range("B49").Value = "Black" Then
Sheets("Sheet1").Range("B49").Copy
Sheets("Sheet2").Activate
lastrow = Range("D65536").End(xlUp).Row
Cells(lastrow + 1, 32).PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=True
End If
So I have a drop down in cell B49. The options are Black and Other. If other is selected then B50 appears and you can type a color in. This code constantly pastes nothing into the cell I have it pasting in. Any ideas on what could be causing this?
Thanks for all the help.