I give up. I have spent so much time searching this forum, YouTube and the internet on how to do something that I know is simple but I just am having a lot of problems finding something easy to use.
I have a user form with three buttons on it. One is a save, one is a save as and one is a print button.
Can somebody just show me a simple VBA routine to save the file worksheet in the current directory. And if I want to do a save as, a routine to save the worksheet in a directory or name of my choice.
The object names are checkbox_save, checkbox_saveas and checkbox_print. I know I can double click on these and the code for it will come up (Sub and End Sub).
I apologize for not being able to successfully research and find something to do this myself but I have just been overwhelmed with all the different things i find, so that now I'm totally confused.
I have been able to use this forum for many things successfully but or some reason I spending an inordinate amount of time trying to do something that is basically very simple.
I apologize for my inability to do this, and thank you in advance.
Bob
PS. And by the way I have a print button that I can get to print but it does not allow me to choose my own printer. It goes to the default printer all the time and while I'm at home it gets hung up because the printer is at work. I would like to be able to specify a printer and preview the document prior. So if you throw in the coding for this that would be nice to. I just love it when I feel this dumb!
I have a user form with three buttons on it. One is a save, one is a save as and one is a print button.
Can somebody just show me a simple VBA routine to save the file worksheet in the current directory. And if I want to do a save as, a routine to save the worksheet in a directory or name of my choice.
The object names are checkbox_save, checkbox_saveas and checkbox_print. I know I can double click on these and the code for it will come up (Sub and End Sub).
I apologize for not being able to successfully research and find something to do this myself but I have just been overwhelmed with all the different things i find, so that now I'm totally confused.
I have been able to use this forum for many things successfully but or some reason I spending an inordinate amount of time trying to do something that is basically very simple.
I apologize for my inability to do this, and thank you in advance.
Bob
PS. And by the way I have a print button that I can get to print but it does not allow me to choose my own printer. It goes to the default printer all the time and while I'm at home it gets hung up because the printer is at work. I would like to be able to specify a printer and preview the document prior. So if you throw in the coding for this that would be nice to. I just love it when I feel this dumb!