Multiple selections in listbox to create separate records in table

jumbledore

Active Member
Joined
Jan 17, 2014
Messages
262
I am trying to create a form based database to store links to various pdf documents. These files belong to one or multiple projects. So I have created a form with a list box which shows the various projects and and a text box which has the link to the pdf but the problem is when multiple projects are selected the information is not stored in the table as separate records. How should I go about doing this? For example if one pdf file refers to 2 projects X & Y and if a user selects these 2 projects in the list box and enters the path of the pdf in a textbox it should create 2 records in the table:


Project Path
XC:/Sales/X
YC:/Sales/Y
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Forum statistics

Threads
1,221,875
Messages
6,162,563
Members
451,775
Latest member
Aiden Jenner

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