Simple VBA Code Help (MS Excel)

Atreyu

One Last Breath.
Reaction score
49
Been a while since I came back here, what.. 2 or 3 years. HAHAHA
well, here's my question. How do you code this?

If I click a command button, the value from the text box will be inputed in Cells(1,1)
and if I click it again, the value will be inputed in Cells(2,1)?

I tried using this
Cells(X,1) = txt1.text
X=X+1
but it didn't work.

Cheers! :)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top