Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default userform data entry

i am new to userforms. i have created a userform that has three text boxes. i
can transfer the data from the userform to a spreadsheet,but what i want to
do is direct each entry to specified cells, eg 1:500, do i need another text
box to enter a number in it, then code to direct the entry
thankyou john

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

Dim nexrow as Long, rng as Range
With Worksheets("sheet1")
nextRow = .Cells(rows.count,1).End(xlup).row
if not isempty(.cells(nextRow,1)) then
nextrow = nextrow + 1
end if
set rng = .Cells(nextRow,1)
End with
Msgbox "I will enter my data in " & vbNewLine _
rng.Address & " to " & rng.offset(0,2).Address

--
Regards,
Tom Ogilvy

"john tempest" wrote:

i am new to userforms. i have created a userform that has three text boxes. i
can transfer the data from the userform to a spreadsheet,but what i want to
do is direct each entry to specified cells, eg 1:500, do i need another text
box to enter a number in it, then code to direct the entry
thankyou john

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
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
Userform: listbox and controls' data entry validation sebastienm Excel Programming 2 September 15th 05 02:02 PM
Validate data in userform data entry BernzG Excel Programming 4 June 1st 05 01:45 PM
data entry with userform questions mbernardi Excel Programming 0 September 24th 04 02:06 AM
Creating a Data Entry Userform spurtniq[_8_] Excel Programming 1 January 8th 04 05:48 AM


All times are GMT +1. The time now is 09:53 PM.

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"