How to create Serial Number using given digits for my userform

badzxie14

New Member
Joined
Nov 1, 2021
Messages
1
Office Version
  1. 2021
  2. 2019
  3. 2016
  4. 2013
  5. 2011
  6. 2010
Platform
  1. Windows
Good day I am not an IT expert but I am currently having a project of database on work. I am having trouble for the codes for my ADD COMMAND BUTTON of getting a serial number for 2 columns for the first column will retain the number and the second column will copy the digits of the first column then copy the above row with increasing (+)

For example in my ADD button if I click it I want it to function as follows

...to appear in worksheet .... ....in userform two text box first box will retain the 6-21- second box will show the next increment of given number which is 085287

A B C
Control No. Serial No. A (6-21-) Serial No. B (085287) > Add button clicked
1 6-21- 6-21-085288 >Add button clicked
2 6-21- 6-21-085289 >Add button clicked
3 6-21- 6-21-085290 >Add button clicked
4 6-21- 6-21-085291 >Add button clicked
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
hy badzxie14,
Welcome to the board. I would suggest providing a sample file that would that would make it easier for everyone trying to help, to better understand and suggest solutions accordingly, rather then interpreting the query and making assumptions.
 
Upvote 0

Forum statistics

Threads
1,214,946
Messages
6,122,401
Members
449,081
Latest member
JAMES KECULAH

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