Prefill a VBA textbox from data input in another VBA textbox

jimmytiler

New Member
Joined
Aug 16, 2020
Messages
5
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
  2. MacOS
Hi,

Was trying to create a userform with a 'Notes' section on the bottom where it can use input from other textbox; i.e. firstName and lastName fields; so my 'Notes' would look something like this:

<<firstName>> <<lastName>> called regarding.......etc.

Is this possible?

Thanks,
jimmy.
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Hi, and Welcome to Mr. Excel!

Yes - it is possible.
It all depends on what the notes section needed to be used for; if it was just to display the info, I'd suggest a label control, but if the user had to edit it, then another textbox might be better.
Are you using VBA already with your UserForm?
2nd question - where is (are) the other textbox(es)? Please give as much info as poss, in your original question, otherwise Folk here will often undertake nugatory effort on your behalf, only to be told the whole story after having to play message board ping pong for 20 mins.
 
Upvote 0

Forum statistics

Threads
1,215,457
Messages
6,124,941
Members
449,197
Latest member
k_bs

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top