Hi,
I have form with combobox, cboYear and button. I have macro, macro1 that will output to the excel file.
This is what i've done,
Dim tWhereClaus As String
tWhereClaus = "[yyyy] = '" & Me.cboYear & "'"
DoCmd.RunMacro "macro1", tWhereClaus
Is it possible to run macro1 within that selected year only?
thanx..
I have form with combobox, cboYear and button. I have macro, macro1 that will output to the excel file.
This is what i've done,
Dim tWhereClaus As String
tWhereClaus = "[yyyy] = '" & Me.cboYear & "'"
DoCmd.RunMacro "macro1", tWhereClaus
Is it possible to run macro1 within that selected year only?
thanx..