7 replies
by dklippert
by anthonys
by dr. dale
by anthonys
by tarran
If I understand you correctly, you wish to open multiple workbooks, each containing a form filled in with information from 1 record from a table in an Access database.
I think that you would be best served by writing a macro.
The way I would do this is:
Record a macro as you manually create a new workbook and import the data into it. Then edit the macro. This will allow you to see the object calls within Visual Basic for Applications.
Use the automatically generated code as a guideto write a macro to carry out the operation you desire. For example, you can alter the data returned in the query by replacing a portion of the SQL call string with a variable whose values are manipulated by the macro.
Take some time to browse the online help in the visual basic editor. There are meny gems of object methods & properties buried in it.
I hope this is helpful.
by anthonys
by anthonys
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending