Print Value from Inputbox

B

Benonimv

Hi All,

I have written a code to paste the Value from Input box, however a
facing the problem, I want VBA to paste until there is a value in Co
"C" Could you please help.



Option Explicit

Sub test()
Dim Eingabe As String
Dim Rw As Long

Rw = Cells(Rows.Count, 1).End(xlUp).Row
Do Until Not IsEmpty(Cells(Rw, 3).End(xlUp))
Eingabe = InputBox("Enter a number")
Cells(Rw, 1).Value = Eingabe
Rw = Rw + 1
Loop
End Su

+-------------------------------------------------------------------
+-------------------------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top