I need to create an import specification on an excel file that a user can type in the month and year..
Here is the situation. I have a report that is created in excel every month. I wish to create a command button that will bring it in. the excel sheet always starts with %com than the month and yr then ends with ad. an example would be %com0112ad.xls. I have created a form and have a text box. I want them to type in the 0112 and have the code supply the rest. At that point the code should bring in the excel sheet that starts with $com....take the text fields value and populate the 0112 than end the ad....looks like this I think....
I am using ACCESS 2010
%com & [frmImport].[txtdate] & ad...
any help would be appreciated
Micki
Here is the situation. I have a report that is created in excel every month. I wish to create a command button that will bring it in. the excel sheet always starts with %com than the month and yr then ends with ad. an example would be %com0112ad.xls. I have created a form and have a text box. I want them to type in the 0112 and have the code supply the rest. At that point the code should bring in the excel sheet that starts with $com....take the text fields value and populate the 0112 than end the ad....looks like this I think....
I am using ACCESS 2010
%com & [frmImport].[txtdate] & ad...
any help would be appreciated
Micki