Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Sam Sam is offline
external usenet poster
 
Posts: 699
Default Save from form input

This must be really easy, but just don't know how to do it. I have a form
with 3 text input fields. I want to save inputs to "table1" first empty row
to column A, B and C.
--
-Sam
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 110
Default Save from form input

Hello Sam
With Worksheets("Sheet1")
..Range("A65536").End(xlUp)(2).Value = TextBox1
..Range("B65536").End(xlUp)(2).Value = TextBox2
..Range("C65536").End(xlUp)(2).Value = TextBox3
End With
HTH
Cordially
Pascal

"Sam" a écrit dans le message de news:
...
This must be really easy, but just don't know how to do it. I have a form
with 3 text input fields. I want to save inputs to "table1" first empty
row
to column A, B and C.
--
-Sam



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Save from form input


With Worksheets("Sheet1")
cLastRow =.Cells(Rows.Count).End(xlUp).Row
If cLastRow = 1 And .Range("A1")="" Then
Else
cLastRow = cLastRow + 1
End If
.Cells(cLastRow,"A").Value = Textbox1.Text
.Cells(cLastRow,"B").Value = Textbox2.Text
.Cells(cLastRow,"C").Value = Textbox3.Text
End With

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Sam" wrote in message
...
This must be really easy, but just don't know how to do it. I have a form
with 3 text input fields. I want to save inputs to "table1" first empty

row
to column A, B and C.
--
-Sam



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
input in number form is being multiplied by 1000 when i input. jweinograd Excel Discussion (Misc queries) 4 April 16th 07 11:18 PM
How can I have an input form to add a random no. to each input entry? saziz Excel Discussion (Misc queries) 2 January 25th 06 11:46 PM
Input Form vba help mdalzell Excel Discussion (Misc queries) 0 April 8th 05 03:57 PM
Input box/form acsell Excel Programming 11 October 9th 03 11:22 AM
how to save the input of the controls in a form Tom Ogilvy Excel Programming 0 August 19th 03 01:51 PM


All times are GMT +1. The time now is 12:30 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"