Needing a Userform to Add Data to Tables on Different Sheets Depending on an Input Value

PostTIT

Board Regular
Joined
Aug 22, 2016
Messages
94
I have a workbook with multiple sheets that each contain a table with two columns: an 'acronym column' and a 'description column'. This table takes place in columns 'F' and 'G' of each page.
On my title page I'm looking to have a button that launches a Userform that will allow the user to input:
- Initial Letter (of the acronym, this text box would be one letter maximum)
- Acronym
- Description

Where the initial letter will correspond with the relevant sheet it is to go on (the sheets are names 'A', 'B', 'C' ... 'X', 'Y', 'Z'), and then the acronym and description will take their respective places in the table - either as a new row at the end, or to be sorted alphabetically (either would be ideal but this would be a step I could do by myself later).

I can already create the Userform and name all the components, and I can send the data into the same sheet to specific cells, I cannot however, get the code to automatically add a new row and then insert the data like that.

Any help would be greatly appreciated.

Thanks.
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Forum statistics

Threads
1,216,124
Messages
6,128,995
Members
449,480
Latest member
yesitisasport

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