savechanges=true

  1. L

    copy a sheet to a close workbook - vba

    Hi In the code below, this line of code Set closedBook = Workbooks.Open("D:\Dropbox\excel\articles\example.xlsm") Not sure why I need "Set closedBook". Let say I have one Workbook open, which is Workbooks(1). If I do this code Workbooks.Open("D:\Dropbox\excel\articles\example.xlsm")...
  2. D

    ActiveWorkbook.Close SaveChanges:=True Not Working???

    Hello all I have written a macro that does various things on a workbook. The Workbook is then saved and closed using the command ActiveWorkbook.Close SaveChanges:=True this command was working fine until I made various changes but now it now longer works. The last bits of my macro is as...
  3. W

    Loop not appropriately opening file paths

    Hello! I have a list of file paths in a workbook, in cells A1:A307. I would like to open some master data files, then open the files listed in Column A one-by-one, update formula values that are referring to the master data files, save them, and then close them. If the file is unable to be...
  4. W

    VBA: Skip file path that cannot be found

    Hello! :) I have a number of file paths listed in Column A of Sheet1 that have to be opened and saved daily. There are formulas in these sheets that are linked back to other data sheets that should remain open the whole time. However, the current macro I have fails to a full stop if one of the...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top