#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default data entry

Would appreciate some help or direction for the following chalange:
I have a spreedsheet for collecting info.
Want to be able to click on abutton and have a entry box pop up , fill in 3
fields, and have it copies to sheet 2 that is like a database, or copy to
first blank row.
Any direction appreciated

Roger


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default data entry

hi
not sure if you can have one input box of 3 entries but this might work for
you.
Sub clickbutton()
Dim var1 As String
Dim var2 As String
Dim var3 As String
var1 = InputBox("enter something")
var2 = InputBox("enter something else")
var3 = InputBox("enter something else")

Sheets("sheet2").Range("A65000").End(xlUp).Offset( 1, 0).Value = var1
Sheets("sheet2").Range("B65000").End(xlUp).Offset( 1, 0).Value = var2
Sheets("sheet2").Range("C65000").End(xlUp).Offset( 1, 0).Value = var3
MsgBox "Done"
End Sub

regards
FSt1

"Hawke" wrote:

Would appreciate some help or direction for the following chalange:
I have a spreedsheet for collecting info.
Want to be able to click on abutton and have a entry box pop up , fill in 3
fields, and have it copies to sheet 2 that is like a database, or copy to
first blank row.
Any direction appreciated

Roger



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default data entry

Tks for quick response, this works great. However if I may so bold to ask ,
can all 3 entries be shown in 1 box at once? And is it possible to have a
lookup table on the first field?

Roger

"FSt1" wrote in message
...
hi
not sure if you can have one input box of 3 entries but this might work
for
you.
Sub clickbutton()
Dim var1 As String
Dim var2 As String
Dim var3 As String
var1 = InputBox("enter something")
var2 = InputBox("enter something else")
var3 = InputBox("enter something else")

Sheets("sheet2").Range("A65000").End(xlUp).Offset( 1, 0).Value = var1
Sheets("sheet2").Range("B65000").End(xlUp).Offset( 1, 0).Value = var2
Sheets("sheet2").Range("C65000").End(xlUp).Offset( 1, 0).Value = var3
MsgBox "Done"
End Sub

regards
FSt1

"Hawke" wrote:

Would appreciate some help or direction for the following chalange:
I have a spreedsheet for collecting info.
Want to be able to click on abutton and have a entry box pop up , fill
in 3
fields, and have it copies to sheet 2 that is like a database, or copy to
first blank row.
Any direction appreciated

Roger





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
Can I lock a cell after data entry so entry can not be changed Verlinde Excel Discussion (Misc queries) 3 April 22nd 10 07:59 PM
Control Data Entry - push entry to next cell Ofelia Excel Discussion (Misc queries) 0 July 7th 08 04:19 PM
Auto entry of data based on entry of text in another column or fie Judy Rose Excel Discussion (Misc queries) 2 May 21st 08 01:14 PM
Data Entry Online, Data Format, Data Conversion and Data EntryServices through Data Entry Outsourcing [email protected] Excel Discussion (Misc queries) 0 March 20th 08 12:45 PM
Cell Entry That Locks Selected Cells From Any Data Entry. ron Excel Worksheet Functions 5 February 16th 07 09:52 PM


All times are GMT +1. The time now is 12:48 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"