Hello everyone,
I have a button on a form that calls a function to populate some textboxes with where criteria that is used in a parameterized query this is then used as the table source for a macro which is calling the transfertext function.
What I want to be able to do is have a saveas dialog box open when they click the button and populate a textbox with the path and filename the user enters. Then I want to use the variable with the stored path as the filename argument in the transfertext function.
So how do I get the saveas dialogue box to open and also, how do I save the path and filename in a variable?
Any Suggestions? Is this possible?
Thanks to everyone for the help.
I have a button on a form that calls a function to populate some textboxes with where criteria that is used in a parameterized query this is then used as the table source for a macro which is calling the transfertext function.
What I want to be able to do is have a saveas dialog box open when they click the button and populate a textbox with the path and filename the user enters. Then I want to use the variable with the stored path as the filename argument in the transfertext function.
So how do I get the saveas dialogue box to open and also, how do I save the path and filename in a variable?
Any Suggestions? Is this possible?
Thanks to everyone for the help.
Comment