JasonPurdueEE
Technical User
ok, heres a complicated one for you guys. I've busted my butt trying to figure this out on my own, but I'm not getting too far. any help you could give is greatly apprieciated. I'm trying to create a macro to automate a series of long and teadious tasks. this is what I need to do:
1. start out in an Access database and run a query. save as/export this query as an .xls file and close the query. this part I have pretty much down.
2. now for the hard part. have the macro open another database titled "jobs.mdb" and create a new table and choose the 'import a table' option. the table needed to be imported is of the 'Microsoft FoxPro' variety and is called "workpack." after it imports, I need it to open in design view and add a field called "PWR" with the data type text and add another field called "Phase" as the data type numbers. and I need to change a data type in the existing field called "WPNUMB" to numbers, and save the whole thing. whew, you guys still with me on this one? let me know if you need clarification.
3. here I need to do a whole lot of other stuff, but I can figure most of this out (I hope ).
and one last question: is there a 'record new macro' function in Access like there is in Excel? it would sure make some if this easier. again, any help would be great. thanks in advance.
1. start out in an Access database and run a query. save as/export this query as an .xls file and close the query. this part I have pretty much down.
2. now for the hard part. have the macro open another database titled "jobs.mdb" and create a new table and choose the 'import a table' option. the table needed to be imported is of the 'Microsoft FoxPro' variety and is called "workpack." after it imports, I need it to open in design view and add a field called "PWR" with the data type text and add another field called "Phase" as the data type numbers. and I need to change a data type in the existing field called "WPNUMB" to numbers, and save the whole thing. whew, you guys still with me on this one? let me know if you need clarification.
3. here I need to do a whole lot of other stuff, but I can figure most of this out (I hope ).
and one last question: is there a 'record new macro' function in Access like there is in Excel? it would sure make some if this easier. again, any help would be great. thanks in advance.