newwb

  1. T

    Filter by column then save as CSV

    Guys, is there a way to filter by each name in column D and then save these as a separate CSV file and name it based on the name in column D. Something similar to the below code which works fine but this saves based on the worksheet name. Ideally i dont want to create a new worksheet for each...
  2. M

    sheets(array).copy Error - Excel 2010

    Hi All, HELP, I'm confused.... The below code works at home on excel 2016 however in work where we use 2010 it fails on the wb.sheets(arr).copy line any suggestions? is it really a version difference or am i missing something? Thanks in advance for any suggestions :) Sub copysheets()...
  3. A

    Can a sub return an object and reference to object to a calling Sub????

    Hi all, A few weeks ago I asked about creating new workbooks with specific numbers of sheets. I was given a code that stores the default number of sheets to be created in a new workbook, then changes the Application.SheetsInNewWorkbook property to the desired of new sheets, creates a workbook...
  4. T

    VBA Save as and overwrite file

    Hi Guys, I have the below code which works great but is there a way to overwrite the files if they already exist Sub Run() Dim ws As Worksheet, newWb As Workbook Application.ScreenUpdating = False For Each ws In Sheets(Array("Bethan", "Hannah")) ws.Copy Set newWb = ActiveWorkbook...
  5. J

    Saving new workbook in VBA: mac

    Here is my simple code, found online. Sub test2() ' copies a worksheet into a new file and saves it onto desktop Dim newWB As Workbook Sheets("Sheet1").Select 'Add a new workbook and copy the Members sheet over Set newWB = Workbooks.Add ThisWorkbook.Sheets("Sheet1").Copy...

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