D
danijela.simunovic
Hi!
I am exporting some data from access to excel and here is my code for
that:
DoCmd.TransferSpreadsheet _
TransferType:=acExport, _
SpreadsheetType:=acSpreadsheetTypeExcel9, _
TableName:="Table1", _
FileName:=strFileName, _
HasFieldNames:=True, _
Range:="Sheet1"
But i would like to export just specific data from Table1. Let's say
only Dates that are in this year. Where do I put my contition for that
and how would the code go? Thanks!
Danijela
I am exporting some data from access to excel and here is my code for
that:
DoCmd.TransferSpreadsheet _
TransferType:=acExport, _
SpreadsheetType:=acSpreadsheetTypeExcel9, _
TableName:="Table1", _
FileName:=strFileName, _
HasFieldNames:=True, _
Range:="Sheet1"
But i would like to export just specific data from Table1. Let's say
only Dates that are in this year. Where do I put my contition for that
and how would the code go? Thanks!
Danijela