Inputting into the same access database with different file named files

burnleypingu

New Member
Joined
Sep 9, 2014
Messages
2
I want to create a timesheet which will have four tabs inside it with one of them being called 'data' which will be the one which will be imported into the access.

I also want to save the document file name to be saved as the information provided on the 1st tab (eg date - shift - machine - name) but I'm guessing thats more a VBA/Macro question.

The data will be information fed from the front three tabs so all the info is collated together and is clean and tidy and formatted on the 4th tab 'data'.

I then want to be able to import this data into an access database 'prod data' but this is the tricky part. I want to be able to set a macro up on the timesheet so when you press the button assigned to the macro, the following process will occur

> save the document
> import the data into the 'prod data' access database
> bring the original blank ready-to-go again timesheet up on the screen



In summary,

I'm struggling to save the document file name with info provide on front page of timesheet

How do you set it up so the sheet (under the original file name and another file name) can be inputted into the same access data base

How do you get the macro to save the document, import the data and then close that sheet and then open a new original timesheet up ready for the next person

A bit vague but hopefully somebody out there can help

I'm really struggling (but hours of research into this but can't get anywhere)

PLEASE HELP :confused:
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
2h2mgyc.jpg


33tquxw.jpg


The first photo is the timesheet process

The second photo is the access process with the close down and new file bit
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,728
Members
448,987
Latest member
marion_davis

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