Save File to Desktop VBA

  Рет қаралды 2,989

Marcus Small

Marcus Small

Күн бұрын

Пікірлер: 18
@OneSumeet
@OneSumeet 3 жыл бұрын
Thanks Marus. This is very helpful.
@thesmallman
@thesmallman 3 жыл бұрын
You are most welcome Sumeet.
@danieldauber8335
@danieldauber8335 3 жыл бұрын
Super helpful. Thanks for the great content! 👍🏼👍🏼
@jamieharper5665
@jamieharper5665 3 жыл бұрын
Thank you for this! I managed to use this in conjunction with exporting a cell range as a jpeg image! It's a little warped (so not sure what I'm doing wrong there) but it saved to the desktop PERFECTLY! Thanks again! Super helpful! :D
@thesmallman
@thesmallman 3 жыл бұрын
Glad it helped!
@manin4568
@manin4568 3 жыл бұрын
HI Marcus, How to Save File as XLSX/XLSM to desktop using Command button. i have total 4 Sheets , I just want to Save 3 sheets , the command Button stays in empty Sheet.1, Any leads ? please
@rayanaltayyari6450
@rayanaltayyari6450 4 жыл бұрын
How can I loop that with other sheets?
@thesmallman
@thesmallman 4 жыл бұрын
Hi Rayan - yup good question. All you have to do if you want to save each sheet to the desktop is create a sheet reference and loop through each sheet in the WB. I would write it something like this; Dim sh As Worksheet For Each sh In Sheets 'Your Code Here :) Next sh Now all you have to worry about is where do you put the saving reference for each new sheet. I would use the sheet name as the point of save or a dedicated cell that had some unique identifier. Hope that helps. Marcus
@rayanaltayyari6450
@rayanaltayyari6450 4 жыл бұрын
Marcus Small Thanks and I really appreciate it.
@siddhartharoy6248
@siddhartharoy6248 2 жыл бұрын
Sir, How it works on protected sheet
@thesmallman
@thesmallman 2 жыл бұрын
You have to unprotect the sheet with code, then run the code, then reprotect the sheet after the code is run.
@dhirendranathmandal6949
@dhirendranathmandal6949 2 жыл бұрын
Sir please want a video for Create a Macro to save Specific Worksheets in specific folder
@thesmallman
@thesmallman 2 жыл бұрын
There are plenty of examples of precisely this on my website. See if the following works for you. www.thesmallman.com/copy-sheet-and-save All the very best.
@yosef-yosef9414
@yosef-yosef9414 5 ай бұрын
This code are fit when you use other laptop or computer right?
@thesmallman
@thesmallman 5 ай бұрын
Yes works on any type of computer.
Excel VBA Save File as Cell Value
14:12
The Excel Cave
Рет қаралды 25 М.
Power Query Update Excel Files from Folder
10:45
Marcus Small
Рет қаралды 3,3 М.
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 35 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 111 МЛН
Slicer Connected to Multiple Data Sources
8:35
Marcus Small
Рет қаралды 41 М.
Convert Text to Number with VBA
10:16
Marcus Small
Рет қаралды 14 М.
Compare Two Lists
22:08
Marcus Small
Рет қаралды 804
excel vba pdf and attach to email
8:31
Excel Highway
Рет қаралды 10 М.
Python in Excel vs. VBA - What You Should Learn in 2024!
10:05
David Langer
Рет қаралды 69 М.
Pass Variable Between Macros
4:34
Marcus Small
Рет қаралды 2,1 М.
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 35 МЛН