About 51 results
Open links in new tab
  1. How to use VBA SaveAs without closing calling workbook?

    Using SaveAs does exactly what is expected - it saves the workbook while removing the macros and presents me the view of the newly created SavedAs workbook. This unfortunately means:

  2. How to "SaveAs" a specific range with VBA Excel?

    Aug 31, 2019 · How can I SaveAs a specific range? I tried the Application.FileDialog(msoFileDialogSaveAs), which does save the entire workbook, but I just want …

  3. How to do a "Save As" in vba code, saving my current Excel workbook ...

    I have an Excel Workbook that on form button click I want to save a copy of the workbook with the filename being the current date. I keep trying the the following ActiveWorkbook.SaveAs ("\\\\filePath\\

  4. Excel VBA code to SaveAs a specific filename and close the active ...

    Feb 23, 2015 · What VBA code do I need to add to the end of an existing sub to save the active workbook as "finaloutput.xls" and then automatically close the workbook without saving changes?

  5. Run-time error '1004': Method 'SaveAs' of object'_Workbook' failed

    Aug 21, 2015 · FWIW the With block in the original code wouldn't affect things - only if it said .ActiveWorkbook.SaveAs (i.e. with a leading .) would it be treated as …

  6. How to use workbook.saveas with automatic Overwrite

    How to use workbook.saveas with automatic Overwrite Asked 13 years ago Modified 1 year, 9 months ago Viewed 366k times

  7. Does Excel VBA SaveAs do anything different to File SaveAs

    Jul 11, 2023 · This suggest to me that the Excel VBA SaveAs is doing something that the File Save is (or is not) doing. I have tried changing FileFormat from xlWorkbookDefault to xlOpenXMLWorkbook …

  8. javascript - How to make a browser display a "save as dialog" so the ...

    How can I make a browser display a "save as dialog" so the user can save the content of a string to a file on his system? For example: var myString = "my string with some stuff"; save_to_filesystem(

  9. How to save MATLAB figure as JPEG using saveas() without the image ...

    Apr 13, 2013 · The Matlab figure export dialog and the saveas() function lack a lot of desirable functionality. Especially, savas() cannot create a custom resoultion image which is why your results …

  10. Trying to SaveAs excel workbook using VBA and specific network path

    Jul 21, 2022 · I'm trying to use VBA code to save an excel workbook with a specific file name based on cell data and in a specific network folder. Here's the code. Private Sub CommandButton1_Click() …