ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Populate a cell from a text box. (https://www.excelbanter.com/excel-programming/298737-populate-cell-text-box.html)

Unknown_User

Populate a cell from a text box.
 
Hi all,

No doubt a simple question!

I have a vb form into which the user types a value.

Various calculations happen in the vb code which produces a string.

I want to place that string into a cell on a worksheet. Does anybod
know how to do it?

Thanks

--
Message posted from http://www.ExcelForum.com


Chip Pearson

Populate a cell from a text box.
 
Just use something like

Worksheets("Sheet1").Range("A1").Value = the_string_variable


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Unknown_User "
wrote in message
...
Hi all,

No doubt a simple question!

I have a vb form into which the user types a value.

Various calculations happen in the vb code which produces a

string.

I want to place that string into a cell on a worksheet. Does

anybody
know how to do it?

Thanks!


---
Message posted from http://www.ExcelForum.com/




Unknown_User[_2_]

Populate a cell from a text box.
 
......thanks!

I feel good 'cos I've tried to work this out for ages.

I feel dumb 'cos the answer is so simple.

Thanks again

--
Message posted from http://www.ExcelForum.com



All times are GMT +1. The time now is 01:02 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com