Hi,
imabsolutely new with VB and i guess this is very easybut for me still complicated task. I wanna copy the value from inputbox tonext empty row in the another sheet. I cant overcome the problem with type mismatch. So far i gotthis
Dim NC as Range
Dim CR, MyNym As String
MyNum = Application.InputBox("Enter an order number", Type:=2)
Set NC = Sheets("Sheet1").Cells(Cells.Rows.Count, Columns("A").Column).End(xlUp).Offset(1, 0)
Set CR = MyNum
CR.copy
NC.PasteSpecial (xlValues)
Application.CutCopyMode = False
I tried to change the data types to everything but wont work, any suggestions
thank u