[COLOR=darkblue]Private[/COLOR] [COLOR=darkblue]Sub[/COLOR] CommandButton1_Click()
[COLOR=darkblue]With[/COLOR] Sheets("Sheet1")
.Range("A1").Value = TextBox1.Value
.Range("B1").Value = TextBox2.Value
[COLOR=green]'etc[/COLOR]
[COLOR=darkblue]End[/COLOR] [COLOR=darkblue]With[/COLOR]
[COLOR=darkblue]End[/COLOR] [COLOR=darkblue]Sub[/COLOR]