worksheet name

  1. V

    vlookup - can a formula be used to generate the table_array parameter?

    I have a number of worksheets which contain audit score results (they are all the same format), there is one for each individual, therefore I have labelled the worksheets with their names. On a summary worksheet, I want to display the same field in each of the worksheets. E.g. In Jon's sheet...
  2. E

    How can I access the WorkSheet name within the worksheet to trigger action ?

    I have a worksheet with columns for each Dept; containing Dept-local details of 'across the board' details (eg Dept staff names, equipment issued &c) I want to consolidate them all back to a front-page Summary for the Company. Each worksheet will have a Dept Name: & I do not need them to...
  3. M

    Change TAB Name

    I have looke at threads asking the same question to some degree. I have tried some of the recommended marco solutions, but not solve my requirement. I run a raw data report each day and use a Cygwin shell script to group and create up to 20 separate .csv reports. They are all named based upon...
  4. J

    VBA: Using Macro to set sheet name from cell, but this won't work if cell is formula, can you help me?

    Basically, I am using: Private Sub Worksheet_Change(ByVal Target As Range)ActiveSheet.Name = Range("C2").ValueEnd Sub To name my worksheet where: C2='List of Students'!D5 In this instance the worksheet does not update this name when I update D5 in the other worksheet as C2 is a formula. Does...
  5. Z

    Adding a a new sheet with todays date... I have the code BUT

    Sub CheckAndAddSheetNameAsCurrentDate() Dim SheetName As String SheetName = Format(Date, "dd-mm-yyyy") 'Change the format as per your requirement On Error GoTo AddNew Sheets(SheetName).Activate Exit Sub AddNew: Sheets.Add , Worksheets(Worksheets.Count) ActiveSheet.Name = SheetName End...
  6. M

    Create new sheets named after each cell in a range. Do nothing if sheet is already created. Create if not.

    Hi all I have the following code but need to tweak it so that on the 2nd time it runs, it no longer creates every single sheet, but only new sheets (not yet on the workbook). Can anyone help? The purpose is to create new sheets based on sheet 'Template'. Also I'm having some trouble on the...
  7. I

    Excel VBA to Match Cell in Summary to Workbook Name and Copy information to Summary

    Hello, I have a REIT summary worksheet which contains different account names starting from Cell A4. Within the whole workbook, there are also different tabs, each named by the account name and contained information of that account. I would like to build a macro which find the account name...
  8. K

    Adding to an existing macro to make Excel rename sheet after specific cell.

    Hello, hope everyone is doing OK. I have been using Microsoft office products for years now. I've only recently discovered however, macros and some of the other "behind the scene" tools available. What I could use a hand with is this; with the help of my son, I have recoded a macro that records...
  9. D

    How to match worksheet names against global variable?

    Objective: I would like to ask the user if when the name the worksheet the same as an already existing spreadsheet tabe if they would like to overwrite it or unload the user form. I am not sure of two things: 1. how to find the already existing tab? 2. Once I find out how do I programatically...
  10. D

    How to create a variable to pass value to worksheet name?

    I am using Excel 2010. I am trying to pull the string of the SlicerItems that equal True and pass it to a worksheet name. I need some help trouble shooting the code below: Sub SlicerName_Copy() ' ' Objective: To read what is selected by end-user with Slicer and copy the selection '...
  11. D

    Need to have multi-items in list to pass to other macro.

    Objective: To pass multi-selected items to other macro to perform routine. Known issues: Sometimes I have one item selected sometimes 20, but in all cases I need the name of the item selected to pass to the next routine and execute appropriately. NOTE: each selected item should be treated...
  12. P

    Get non active worksheet name by mouse click excel 2007 VBA

    I'm new to this (actually any) forum. So please bear with me... The problem I have is: In a workbook I have a calculation sheet and worksheets that contain the data to calculate named in a "mm-dd-yyyy" format. When I switch to a different day I have a macro that prompts me for the worksheet...
  13. S

    Rename Worksheets and Copy Data

    Hi everyone, I need to copy data from one workbook- all of it, containing multiple worksheets. This needs to be pasted onto a new workbook with the same worksheet names as the previous workbook. I need help with copying the names of the worksheets and pasting them onto the new workbook. And...
  14. D

    How can I programmatically get the name of the worksheet where the data source of a chart is?

    Hi all, I want to programmatically add a title to a chart. The chart is on a chart sheet (what happens when you hit F11), not on the same sheet where the data source is. The title text is on cell A1 of the worksheet with the datasource. Now if the data source is on the sheet "data" then...
  15. C

    INDIRECT Issue re Worksheet Name

    I have been stymied with an INDIRECT function issue and feel like I am very close to resolution, but need assistance from an expert. My workbook has a Summary worksheet that needs to pull from specific cell references in subsequent worksheets. The following formula works if the worksheet name...
  16. R

    return ws name formula not working after moving ws to new wb

    I am using the following formula to display the first 7 characters of a worksheet name in a cell. =LEFT(MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,256),7) It works perfectly. However, when I copy the worksheet, move it it a new workbook and save the workbook with a name that is...
  17. cata2200

    Cell Function Refreshing error

    Hello Please assist me with the following problem: I'm creating a wookbook with 12 worksheet with an iconic name as "YYYYMM - Monthly Occupancy", where YYYY = year and MM = month. Lot of formulas are interconnected with the name of the working sheet and the sheet for the previous month...
  18. J

    VBA Find/Select Worksheet with Range as Name

    Hello, I am creating a workbook that will allow multiple users to work at once. When the workbook opens, a template is copied and pasted as a new sheet with their name as the sheet name. The workbook_open macro looks at their windows username in a list and then creates the sheet for their name...
  19. L

    Excel 2003: Add worksheet with variable as worksheet name?

    OK, folks... some more VBA help needed please!!! I need to create a macro which will prompt the user to select a PDF file on their HDD, then have the PDF filename used as the worksheet name. The PDFs have the same naming convention: "MachineReport 1234ABC 31102011" where MachineReport is...
  20. D

    How do you to refer to an specific worksheet depending on a selected value?

    Hi. How do you to refer to an specific worksheet depending on a selected value. For example, I have 4 sheets named: "5", "ac", "ad", "6" (instead of "sheet1", "sheet2", "sheet3", "sheet4"), in the vba code, the user may choose from three options: A or B or C, so: if the user selects A, I...

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