VBA Save As File to Specific Location - Workbook Save as VBA Code Examples
HTML-код
- Опубликовано: 12 фев 2021
- This Excel VBA Save As Tutorial explains real example of VBA Code to save a file to specific location or save a file in a specific folder.
You can also learn how to use save as dialog box to save a workbook using vba code.
Thanks a lot Dada
How to save a file on a folder in Sharepoint?
Fantastic code
Thank you very much
thank you so much, great video perfectly explained
Welcome
How if I only want to save specific range on that worksheet?
Thank you. Please do more code samples
hi
thaks for the excellent expelation. i have a question pleas: i made a form in word with some fields to fill by the students . the fields are in vba type " plain text content control", and i added to the form a command control to save aoutomatically the document as the content of the sudent name field .
i wrote exactly the code you give in this vedio :
ActiveDocument.SaveAs2 FileName:="C:\Users\Nashat\Desktop\my new docs\abc"
but insted the "abc" name i need to refference the file name to be as wreten in the field sudent name /// how can i do this pleas ? waiting for your answer and thank you again.
best regards nashat
e
how to export as video file. from any row on excel? thk
what if we press the button 2 times, it's been saved once already, one more pressing , the file name will be duplicate, how to prevent this?
you need to write additional code to prevent this.
another question pleas /// how can i avoid that the command botton for be printed with the document ? how can i make it unprinted and only show it in the screen only?
Click design mode, then right click properties then uncheck print
how to add range for export to xlsx file format???
is this Mac OS compatible?
Sir my excel VBA file take more time to open. There are only 50 records. Pl guide me.
sometimes computer\laptop performance also impact in this. May be you can remove some files, that are saved on your desktop and try cleaning your system. Then try.
Thanks
Welcome
Kindly post an example to prompt for a range to copy and prompt for destination where to copy the range.
Thanks.
How to save a userform as pdf
Good video, can i make a suggestion, the file name should be dynamic . Set it to gather the name dynamically from the worksheet. ie, file=range("a1") this is concatenated into the part where you have "abc".
Great suggestion!
@@ExcelDestination please give a suggestion auto file generator from excel sheet file holder name
Please give me the code for auto save
0j
@@computerknowledge4821 were you able to figure it out?
Sir I have 1 doubt.
I have created a time tracker for my team.
With your save as option - I was able to save my macro excel to the path I want.
But when I click on Command button again, it is replacing the previous excel which is saved.
I need different excel file to be saved.
Yes, that's what I've been looking for for days
Looks like the admin does not reply or see the comments.
@@suyashprakash7657 yeah, ı just typed in vade admin gets Albert and sees the comments
Good
Thanks
How to save file as pdf ?
really really need this
Could you save the file name with the data in a specific cell
For example 1
Cell A3 had “12345”
File name saved as 12345
Change data in A3 to be “6789”
File name saved as 6789
What would be the code needed
would be great
خه
Sir demo file provide kariya every description ma
ok. Let me.