Hi
I have this macro that when activated, displays the SAVE AS box and fills the file name with the contents of a cell. However, when you press SAVE - nothing happens.
Thanks in advance!Please Login or Register to view this content.
Hi
I have this macro that when activated, displays the SAVE AS box and fills the file name with the contents of a cell. However, when you press SAVE - nothing happens.
Thanks in advance!Please Login or Register to view this content.
Last edited by Mattyevs1000; 05-12-2020 at 04:51 AM.
Hi Mattyevs1000
Please take a moment to read our forum rules...here
Your post does not comply with Rule # 2
2. Programming code must be enclosed in code tags to improve readability. (A, Z)
So...Edit your post...Highlight the code and press the # buttonPlease Login or Register to view this content.
We cannot assist until this has been done...
Good Luck
I don't presume to know what I am doing, however, just like you, I too started somewhere...
One-day, One-problem at a time!!!
If you feel I have helped, please click on the star to left of post [Add Reputation]
Also....add a comment if you like!!!!
And remember...Mark Thread as Solved.
Excel Forum Rocks!!!
The GetSaveAsFilename dialog box, is not a save function, it is used to get the string you want to save as, you will still have to use a save-as line to complete the action.
Just record a "save-as" action by hand and you will see the difference.
Cheers
Erwin
I started learning VBA because I was lazy ...
Still developing.... being more lazy...
Thanks Edwin however I am struggling as I do not understand the codes - I am very much a novice!
Please Login or Register to view this content.
Are you still using Excel 2003? As the code that you have in your initial post is designed for newer versions.
Cheers
Erwin
Thanks Erwin, worked a treat. No I am using 2016.
One last question, how can that code be adapted to add a file path location that is contained in CELL AX5? Thank you!
If you have the filename in AQ5 and the folder path in AX5 when why "GetSaveAs"
Why not just...
Please Login or Register to view this content.
@ Mattyevs1000,
So please update your MS Office version in your profile
Cheers
Erwin
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks