Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Export textbox value into a spreadsheet cell

Hello, i am trying to export a value typed into a userform text box, to a cell in my spreadsheet, when i specify the location i want the data to go, i seem to end up with errors, can anyone please tell me what i need to input to get my text box information to go to a specific cell in a spread sheet

e.g. sheet1.range("c15").value = textbox1.valu

i know it doesnt work

thank you

Robert Couchman
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default Export textbox value into a spreadsheet cell

Where did you put that code ?

--
Regards,

Juan Pablo González

"Robert Couchman" wrote in
message ...
Hello, i am trying to export a value typed into a userform text box, to a

cell in my spreadsheet, when i specify the location i want the data to go, i
seem to end up with errors, can anyone please tell me what i need to input
to get my text box information to go to a specific cell in a spread sheet?

e.g. sheet1.range("c15").value = textbox1.value

i know it doesnt work!

thank you,

Robert Couchman



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Export textbox value into a spreadsheet cell

Hi Robert

You use the codename of the sheet in your code
Sheet1.Range("c15").Value = TextBox1.Value

This don't have to be the sheet with the name Sheet1 on the Tab

Try this

Sheets("Sheet1").Range("c15").Value = TextBox1.Value


--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)
www.rondebruin.nl



"Robert Couchman" wrote in message
...
Hello, i am trying to export a value typed into a userform text box, to a cell in my spreadsheet, when i specify the location

i want the data to go, i seem to end up with errors, can anyone please tell me what i need to input to get my text box
information to go to a specific cell in a spread sheet?

e.g. sheet1.range("c15").value = textbox1.value

i know it doesnt work!

thank you,

Robert Couchman



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Export textbox value into a spreadsheet cell

Thank you for that idea, but im afraid that was one of my
original bits of code, and it didnt work.

i am trying to take the data from an open form and data
from a hiden form, then put both bits of information onto
the sheet.

yes, this code is correct if you are dealing with
information in a hidden form, but please explain the code
for dealing with open information.

Thank you,

Robert Couchman

-----Original Message-----
Hi Robert

You use the codename of the sheet in your code
Sheet1.Range("c15").Value = TextBox1.Value

This don't have to be the sheet with the name Sheet1 on

the Tab

Try this

Sheets("Sheet1").Range("c15").Value = TextBox1.Value


--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)
www.rondebruin.nl



"Robert Couchman"

wrote in message
...
Hello, i am trying to export a value typed into a

userform text box, to a cell in my spreadsheet, when i
specify the location
i want the data to go, i seem to end up with errors, can

anyone please tell me what i need to input to get my text
box
information to go to a specific cell in a spread sheet?

e.g. sheet1.range("c15").value = textbox1.value

i know it doesnt work!

thank you,

Robert Couchman



.

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
Export Excel spreadsheet Robert722 Excel Discussion (Misc queries) 3 April 27th 09 11:50 AM
Export spreadsheet to .csv Mark Excel Discussion (Misc queries) 1 January 6th 07 05:50 PM
Insert spreadsheet in Excel textbox or comment box w1morecast Excel Discussion (Misc queries) 0 October 18th 05 06:51 PM
Export TextBox contents to new workbook. Andy Tallent Excel Discussion (Misc queries) 0 February 22nd 05 01:49 PM
Textbox to look at a cell in spreadsheet Sammy Excel Programming 1 January 28th 04 11:19 PM


All times are GMT +1. The time now is 06:55 AM.

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"