sheet name

  1. M

    Macro Copy rows to Another Sheet based on Heading

    Windows 7 Excel 2010 There are 13 columns in sheet ‘Raw Data’ Copy data from 'Raw Data' to specified sheet name in column A But only extract those columns that Match Headings in the output sheet So I would need a macro to Copy paste rows from sheet ‘Raw Data’ If value in Column A = sheet...
  2. P

    How to get the spreadsheet name into a cell?

    I've got a sheet named like 2013 and I'd like to have that value appear in a cell, then perform arithmetic on it (like to calculate the next year by adding 1). Any suggestions on how to do this? TIA!
  3. T

    Link Sheet name to a cell

    Is it possible to link a sheetname? I have a list of employees on sheet1 and each employee has there own sheet with their name as the sheet name. Each sheet contains a form that the employees need to fill in. I have created several extra sheets for new employees and I would like these sheet...
  4. F

    Returning the Sheet Name using =LARGE formula across multiple worksheets

    I have a workbook with multiple sheets. I am using the following formulas to find the 3 largest numbers in a defined cell across each sheet (L12). I need to return the name of the sheet as well. number will change, and I need the sheet name to be variable based on what the formula pulls in. Any...
  5. K

    Code for a button to add sheet duplicated from existing sheet and auto-name from sequential list?

    Seems complex, but can a single button code; 1) add a new sheet (preferably at the front of the worksheet list), 2) the new sheet will be a duplicate of an existing sheet, 3) the new sheet will be auto-named based on the next sequential cell from a list on a master-data sheet in the same...
  6. N

    Transpose cell range into sheet names

    Does anyone know if it's possible to transpose a vertical range of cells in, say, Sheet1, so that the names of new worksheets are automatically changed? For example: Have the names of Sheets 2-6 automatically change to equal the values in range A1:A5 in Sheet1 Thanks
  7. A

    How to copy a sheets name and to past it on cells?

    hi everyone, can someone please show what is the right vba syntax to copy the name of a sheet in order to past it in a cell? Thank a lot
  8. H

    How do I get a macro to ignore the worksheet name?

    I'm using XP SP3 and XL07. I'm writing a macro to clean up a spreadsheet, and one problem that I have is the macro is using the sheet name when sorting a column. The next time I run the macro, it will be on a sheet with a different name and it will fail. How do I get the macro to ignore the...
  9. K

    Formula to Return Excel Sheet Name

    =""&MID(CELL("filename",Sheet1!$A$1),FIND("]",CELL("filename",Sheet1!$A$1))+1,256) 1. Change filename to the your workbook's filename. 2. Change Sheet1 to your current sheetname where you have pasted the formula. This formula below which I found on many forums doesn't really work because...
  10. J

    Use IF dependent on Sheet Name to Call a VBA Function?

    Hi all, I have some VBA code that I'm using for an Invoice system. As part of the system, it needs to call up a certain function based on the sheet name. I have two choices, I can either make 4 copies of the same code (when you press a button, called "Process Invoice", it runs a macro that runs...
  11. cgeorge4

    MacroProblem-How to All Sheets Except One Specific Sheet

    Hello, I hope some Darling can assist me. I have a macro that selects all sheets - no matter how they are named - or how many sheets there are (normally 5 to 10 new sheets). The problem is that there are sheet names in my macro and I might have one new sheet or two with different names from...
  12. M

    Help with incrementing a filename/text by 1

    I am attempting to open about 650 excel files in a folder and I want to use a for loop to do it. I have tried just throwing a for loop at the begging of my code that increments to 650 and the rest of my workbook manipulation after that. However whenever I go to open a workbook with the...
  13. S

    Change Worksheet name to reflect Cell Value

    Hello, I would like to have Sheet 1 in my Workbook be the main sheet that controls what the rest of the Worksheets are named in the book. Whatever is entered in Cell A1 is the name of sheet 1. Whatever is entered in Cell A2 will change the name of sheet 2 and so on. Is this possible to do with...
  14. K

    show/hide sheet based on name

    Hello all I am using this code in every sheet which changes the sheet name based on cell value. which works fine. However one Problem is, it only changes the name when a a user click anywhere on the sheet. Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range) Set Target =...
  15. T

    Data Validation based on Name of Sheet

    Hi all! I'm trying to create a table in workbook1 in which one of the columns shall have a data validation based on the name of the Sheet in workbook2. workbook2 has several sheets that has the exact same columns. (yes, why not consolidate all these sheets into one, making the sheet names the...
  16. girapas

    Check if an active sheet belongs to a named list

    In a workbook there are many sheets. I've define the name "SpecialSheets" with some of them, say Sheet1, Sheet2, Sheet3. Which is the code to check if an active sheet name belongs to SpecialSheets list? thanks in advance...
  17. M

    Help with Excel formula/Sheet name

    I have a workbook with 21 worksheets in it. The first worksheet is titled "Summary" and the rest are just the default name(s): Sheet1, Sheet2, ... In the Summary sheet I want to write formulas that reference data in the other 20 sheets. Since there will be hundreds of formulas, I want to try...
  18. E

    Copying and (re)naming sheets with VBA?

    I have a worksheet that I need to copy 54 times to the same workbook. Ultimately, I need to have 11 series of sheets each containing 5 sheets. I propose naming them 1A, 1B, 1C, (...), 11E. I have two questions: 1. Is there a way to copy and name all these sheets automatically, e.g. using VBA...
  19. D

    Naming a sheet/tab by refering to a cell

    I have a workbook with a hundred sheets. I want each sheet in the workbook to be named by reference to the value of cell A1 in each sheet. How can I do this. What script/code do I need and where do I paste it? Thanks
  20. R

    Get Sheet number using ADOX

    Hi All, I m using this function to get the Sheet names in a workbook. But any idea on how i can tweak it so that i do get only the second sheet name of the workbook instead of all. Not able to figure out how to get the specific sheet number. Function GetSheetsNames(WBName As String) As...

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