gheyman
Well-known Member
- Joined
- Nov 14, 2005
- Messages
- 2,340
- Office Version
- 365
- Platform
- Windows
This is what I tried. I know my error is in the ListBox.Value
Any help is appreciated
Private Sub CommandButton1_Click()
UnProtectit
Dim lastrow As Long
lastrow = Sheets("Submittal").Cells(Rows.Count, 1).End(xlUp).Row
ListBox2.Value Destination:=Sheets("Submittal").Range("C" & lastrow)
Application.CutCopyMode = False
Protectit
End Sub
Any help is appreciated
Private Sub CommandButton1_Click()
UnProtectit
Dim lastrow As Long
lastrow = Sheets("Submittal").Cells(Rows.Count, 1).End(xlUp).Row
ListBox2.Value Destination:=Sheets("Submittal").Range("C" & lastrow)
Application.CutCopyMode = False
Protectit
End Sub