User form question
You can have a value or a formula in a cell. The textbox will put a value in
the cell and remove the formula.
Break the controlsource and manage the updating of the cell with code. You
can program the content of the cell as you wish.
--
regards,
Tom Ogilvy
"Jock" wrote:
Two (of many) text boxes on a user form have control sources on the
spreadsheet hidden behind. These controls are =TODAY() and =USERNAME(). These
text boxes are locked.
The problem is that when the command button on the form is clicked to move
input data on the form to the spreadsheet behind, the formulae stated above
are removed leaving the date in one text box while the other is empty. How
can I adapt the vba to copy the data in TextBox1 and TextBox2 rather than
removing it?
Thanks for any ideas on this.
Jock
|