Ima90sJezus
New member
- Local time
- Today, 11:36
- Joined
- Jun 14, 2004
- Messages
- 6
I have a Macro that outputs a report in snapshot format using the OUTPUT TO macro. I need to have a varying output file name. I would like to do this within the Macro itself. I would like to avoid using any type of Visual Basic and I would like to avoid having the end-user type it in.
I have tried various syntax (see below), and none of them work.
C:/Output/ & [Forms]![FieldName] & .snp
C:/Output/ "& [Forms]![FieldName] & ".snp
C:/Output/ ""& [Forms]![FieldName] & "".snp
"C:/Output/" & [Forms]![FieldName] & ".snp"
""C:/Output/" & [Forms]![FieldName] & ".snp""
Any other suggestions would be greatly appreciated.
TIA
I have tried various syntax (see below), and none of them work.
C:/Output/ & [Forms]![FieldName] & .snp
C:/Output/ "& [Forms]![FieldName] & ".snp
C:/Output/ ""& [Forms]![FieldName] & "".snp
"C:/Output/" & [Forms]![FieldName] & ".snp"
""C:/Output/" & [Forms]![FieldName] & ".snp""
Any other suggestions would be greatly appreciated.
TIA