ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Adding Values (https://www.excelbanter.com/excel-programming/360865-adding-values.html)

Greg[_27_]

Adding Values
 
How do I code to add a textbox on a userform to a cell on a worksheet.

the cell is

sheet2.range("b4")
textbox7

thanks

Greg



Ardus Petus

Adding Values
 
With Sheet2.Range("B4")
.Value = .Value + TextBox7.Value
End With

HTH
--
AP

"Greg" a écrit dans le message de news:
...
How do I code to add a textbox on a userform to a cell on a worksheet.

the cell is

sheet2.range("b4")
textbox7

thanks

Greg





All times are GMT +1. The time now is 05:12 PM.

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