I have a command button so when it is clicked it runs a macro which at the moment only sets the visible values to either true or false.
Now I have added a MsgBox to the top of the macro so that when it is click a MsgBox is displayed with text. However I want part of the text to be read from a txt box on my from.
i.e. An item is out on loan and is renewed. When the Renew button is click the MsgBox pops up reading "Item renewed. New return date is [txtDueBackFromLoan].
Anyone know how to do it? And is it possible?
Now I have added a MsgBox to the top of the macro so that when it is click a MsgBox is displayed with text. However I want part of the text to be read from a txt box on my from.
i.e. An item is out on loan and is renewed. When the Renew button is click the MsgBox pops up reading "Item renewed. New return date is [txtDueBackFromLoan].
Anyone know how to do it? And is it possible?