saving worksheet vba

  1. V

    Save a Worksheet with a String Name

    Hi, I am trying to save a new worksheet using a value in my sourcesheet and the tab name of the sourcesheet. My code works well if I just use the value, but as soon as I add the sourcesheet name code, I get an error. If I just do the A1 value it worksCan you help? [Code] Sub NameNewWorksheet...
  2. G

    Using VBA to Copy a Group of Sheets to a New Workbook

    I'm trying to copy groups of sheets to a new workbook using VBA. But the number of sheets in a group can change depending on a criterion. I have the names of the sheets that I would like to grab, stored in referenced cells. Is there a way to "stop" after the last cell with a value? If I have...
  3. G

    Selecting and Copying a Group of Sheets to a new Workbook using VBA

    Hey guys, I'm very new to using VBA. My goal here is to be able to select a changing list of sheets using the vba and copy them into a new workbook. I have a standard position for the sheet names but the sheet list could be 5 sheets (as it is in the code below) or it could be 25. Is there a way...
  4. D

    Saving Worksheet via VBA

    I have a Workbook with several Worksheets. Each worksheet has some VBA code. In one of the worksheet, I copy the worksheet to a new workbook (book2) and save, giving it a new name. The code looks something like this: With DestWB .SaveAs TempFilePath & TempFileName & FileExtStr...

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