Programmer2006
Programmer
I am trying to export a form to html by a commandButton
using the TransferText method. Below is my code.
Private Sub cmdExport_Enter()
DoCmd.TransferText acExportHTML
End Sub
I get a compile error saying that I need to specify a table. I also wrote it as
DoCmd.TransferText acExportHTML,,, "MyFileName.HTML"
What exactly and how exactly should I write the parameters for this method?
using the TransferText method. Below is my code.
Private Sub cmdExport_Enter()
DoCmd.TransferText acExportHTML
End Sub
I get a compile error saying that I need to specify a table. I also wrote it as
DoCmd.TransferText acExportHTML,,, "MyFileName.HTML"
What exactly and how exactly should I write the parameters for this method?