worksheet copy

  1. G

    Copying sheets from one workbook to another automatically from the command line

    Hi Guys. I have two XLSX files. All sheets from the Second file should be copied to the First file from the end. But everything should be done automatically via command line. How can I do that? Please, describe everything step by step, I am a very new in excel automation. I have found a code...
  2. P

    Copy worksheets from one workbook to another

    I know very similar questions have previously been asked and I have tried to follow them without success. When I run this I get a Run-time error '1004' msg. The 'CopySheets' Macro is saved in the 'ToWorkbook' Thanks Sub CopySheets() Dim FromWorkbook As Workbook Dim ToWorkbook As Workbook...
  3. Small Paul

    VBA Copy Worksheet to Another Workbook

    Hi I have 2 workbooks. Workbook A contains 1 worksheet. Workbook B (purchased items) has a variable number of worksheets. I need to copy the worksheet in A and add it to be the LAST worksheet in B. The code I have at present is: Sub Macro1()' ' Macro1 Macro ' activesheet.name = "Payee...
  4. S

    Copy Closed Workbook Sheet1 Not Retaining Worksheets("name")

    I'm working on creating a template workbook to create a worksheet with the current date and then bring in a previous day's report for comparison. Prior to the code below running, the workbook is renamed and sheet1 is renamed "User Accounts 10-31-18." The closed workbook is a previous report so...
  5. A

    Split specific columns into mutiple work sheets delimited by a column as well

    Good afternoon, I was searching the forms and thought I would find the input to my hurdle. I am trying to extract records from a detailed worksheet into separate sheets but only specific columns. I thought I might find a script for each of these two steps and merge the scripts together, but I...
  6. A

    VBA for combining multiple worksheet with complete criteria into one worksheet

    Hi, I am learning VBA in excel so that few task could be done faster. I have a spread sheet for my team to enter their weekly plan. The spread sheet is shared so that any one can use the spread sheet at the same time in their individual worksheet. At the end of week I would like to know...
  7. J

    copying a tab from another workbook and paste into last page sheet of workbook

    Sheets(1).Copy Before:=Workbooks( _ "TESTING232.xlsm").Sheets(Sheets.Count).Offset(1) I am copying the first tab of workbook 1, and trying to paste into workbook 2's last sheet. I got something like that, but can't figure it out how to set up the last page. Is there any way to set up...
  8. M

    VLOOKUP copy worksheet to workbook

    I have 2 workbooks called Master and State. On the Master workbook, there are 4 worksheets (sheet1, sheet2, sheet3, Information). On the State workbook, there are 50 sheets named after each state (Alabama, Alaska, Arkansas, etc.). I am trying to create a macro that will copy the correct...
  9. E

    Copy sheet from another workbook using VBA

    Hi, I have a workbook and I need to prompt the user for another workbook, then automtically copy an entire sheet from the selected workbook into the current workbook. I am OK with the code to prompt and select another worksheet, but I am struggling with the code to do the copying of the entire...
  10. D

    Copy worksheet without copying named ranges

    I have a worksheet titled "Template" which I use to generate new worksheets for different locations. Within "Template", I have several defined (named) ranges. I have a macro that takes the row values of a pivot table and generates copies of the "Template" worksheet, with these copies renamed...

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