Using VBA to create a database based on a survey using a custom questionnaire

RSO07

New Member
Joined
Sep 19, 2023
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Good afternoon,

I'm very new into coding and I have been trying to build a database using VBA since it is larger than 32 columns. The concept is very simple, and I hope is easy enough for the experts here.

I'm looking to create an entry form asking for Name, Date, and one product (From list or typing it) to do an audit out of 300 products, then, once the product is selected, the form will bring down or open another window a unique set of multiple questions (1 to 46) depending on the product selected it (Not all the products would have the same questions). Also, the answers to the questions can be open text, yes/no or drop down list. Once the questionnaire is complete, I would like to save the answers into a separate tab (Database) where the 46 questions will have a fixed column to store the answers.

I understand that I may be asking a lot but not sure how to proceed, if you have any questions please let me know

Below is a the table I would like to have with all the information from every audit.


Screenshot 2023-09-20 163148.png
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
The scope and size of your project indicates the need to hire a coder. Have you considered that option ?
 
Upvote 0
Thank you Logit, short answer is yes, I thought about it but can't afford it :)
 
Upvote 0
I was able to build the questionnaire asking different questions based on a specific product. Now, I would like to build the database savings the answers under the right column. How can I share the file here ?
 
Upvote 0
This particular forum doesn't allow posting of workbook files. You'll need to post your project to a download site and provide the link here.
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,262
Members
452,627
Latest member
KitkatToby

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