Visual Basic to make Pivot Table that exports/imports data to database

paulbockmann

New Member
Joined
Mar 6, 2019
Messages
1
First let me say I'm not savvy in writing Visual Basic, so I'm really looking for guidance.
I'm trying to make table that we would use to schedule individual employees on individual jobs on individual days, and store that data in a simple Access 2016 database; Basically, its like I'm trying to set up a Pivot Table and use it as a data entry worksheet in Excel 2016 and push it to Access.
I would like to setup a table that has a header row across the top which would contain calendar days (field:ScheduledDate), a header column which would contain employee IDs (field:EmployeeID), and the table data values would be job numbers (field:JobNo). The data for EmployeeID and JobNo come from an accounting software that sets in SQL server 2016; The ScheduledDate, I was thinking, would be stored in the Access database as a static entry that we would just manually pre-fill to create the start of individual records. So, the data for each of these fields would be stored as a record in an Access database table called "Scheduling"; Scheduling has 4 fields, ID (Primary Key), ScheduledDate, EmployeeID, and JobNo.
Concept is to open the Excel file and go to this worksheet (Personnel Scheduling) and it would show the ScheduledDate along the top, the EmployeeID along the left side, and would show any already existing data in the table values. Then as you develop the schedule by entering/changing job numbers in the table, you can export/import the table data to database.
I know this is a very simplified overview, but I am just wondering if this is doable, or if someone has a much better idea. I have been checking out a lot of scheduling software, but no one seems to have anything similar to this.
Thanks in advance for any help or ideas.
Paul
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Forum statistics

Threads
1,215,646
Messages
6,125,997
Members
449,279
Latest member
Faraz5023

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