Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBA/OLE documentation/howto request

Status
Not open for further replies.

galorin

MIS
Nov 22, 2007
154
GB
I am trying to find the documentation so that I can begin writing timesheets from my application. I've got my query working right, I just need now to spit out that data, plus a few things like date range onto the spreadsheet, and end-column totals. I have tried a few things but with no luck. the code at worked mostly until I started trying to add in my custom fields. I was pointed towards OLE methods, but not sure how to go about it in VBA.

Thanks yall
 
That code you reference is pretty generic for opening a recordset and spitting the results out to excel.

For the data range, simply parametize your query.

For the formulas, it's pretty simple. Look into the Formula property of the cell object ihn Excel.

Tyrone Lumley
SoCalAccessPro
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top