Hi,
Hoping this is the right section for the thread.
I have exisiting visual basic code that takes the results of a query and copies it to a specific tab within an excel workbook.
Private Sub Image58_Click()
Call SendTQ2XLWbSheet("File Progression - Stratford", "Pipeline", "O:\Public\Public-Lettings\Lettings Documents\Rolling Running Lettings Transactions.xls")
End Sub
I now need to add some code to it so that the excel database is filtered, however the next time it runs, the data must still be on the same rows which it isn't if the data is filtered.
Consequently I thought I could add code in to un-filter it before the copying of data, and the re-filter after the copying of data.
However nothing I write works - any suggestions?
Hannah.
Hoping this is the right section for the thread.
I have exisiting visual basic code that takes the results of a query and copies it to a specific tab within an excel workbook.
Private Sub Image58_Click()
Call SendTQ2XLWbSheet("File Progression - Stratford", "Pipeline", "O:\Public\Public-Lettings\Lettings Documents\Rolling Running Lettings Transactions.xls")
End Sub
I now need to add some code to it so that the excel database is filtered, however the next time it runs, the data must still be on the same rows which it isn't if the data is filtered.
Consequently I thought I could add code in to un-filter it before the copying of data, and the re-filter after the copying of data.
However nothing I write works - any suggestions?
Hannah.