LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Andy Tallent
 
Posts: n/a
Default

Thank you Tom,

I reversed "textbox1.Text = rng.Value" to read "rng.Value = textbox1.Text"
and it worked a treat, thank you very much for the help.
--
Andy Tallent


"Tom Ogilvy" wrote:

You would need to use code to write the data. It is unclear how you would
specify the location, but once you have that established, the code would
just be written to address a relative location to the specified cell.

Private Sub Commandbutton1_click()
Dim rng as Range
on Error Resume Next
set rng = application.Inputbox("select destination cell using mouse",
type:=8)
On Error goto 0
if not rng is nothing then
textbox1.Text = rng.Value
textbox2.Text = rng.offset(0,1).Value
textbox3.Text = rng.offset(0,2).Value
end if
Next

--
Regards,
Tom Ogilvy


"Andy Tallent" wrote in message
...
Is it possible when writing Userform data elements to a spreadsheet to
specify exactly the cell you want the first piece of data to populate. I
have tried a number of methods which allocate the data to the first

available
free cell or row but this is not exactly what I want to do here.

For example, I would like to specify Cell "C4" to receive the first piece

of
data from the userform with subsequent pieces of data from that submission
populating "D4,E4,F4" etc. The next time data is submitted from the

Userform
I would like it to start at "C5". Sorry for this lengthy explanation but

any
help would be very much appreciated.

Kindest regards as always.
--
Andy Tallent




 
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
Line Graph Data Recognition Nat Charts and Charting in Excel 2 April 30th 05 02:07 PM
Paste Access data into Excel spreadsheet JDM Excel Discussion (Misc queries) 1 April 29th 05 05:42 PM
When entering data into excel spreadsheet cell, the page just jum. jj Excel Discussion (Misc queries) 1 March 1st 05 06:05 PM
When entering data into excel spreadsheet cell, the page just jump jodj Excel Discussion (Misc queries) 1 March 1st 05 05:51 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM


All times are GMT +1. The time now is 11:49 PM.

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

About Us

"It's about Microsoft Excel"