namedranges

  1. T

    Are Name.Name and Name.NameLocal the same?

    I am trying to see if there is any difference between the Name and NameLocal properties of the Name object. https://docs.microsoft.com/en-us/office/vba/api/excel.name.name https://docs.microsoft.com/en-us/office/vba/api/excel.name.namelocal If I create a name using VBA and supply both the Name...
  2. J

    CountIFs - multiple named ranges and two criteria

    SUMPRODUCT(COUNTIFS(INDIRECT({"Reason1","Reason2"}),"duplicated order",({"Name1","Name2"}),A2)) Can anyone help me with the above code? I want to look across 12 months (each month having its own sheet) for all the times worker X has put a duplicated order on. I have all my ranges named -...
  3. F

    Copying Multiple Named Ranges from one sheet to Another

    Hello Everyone! This is my first question posted, so sorry if it is not aesthetically pleasing. I am in the process of making a sub or two to create named ranges based on data in one worksheet, and then transfer it to another worksheet. I have working code below, but I do not wish to type out...
  4. E

    VBA Named Ranges in Loop

    Hi, I was wondering if anyone has a fast way of getting the data for the following problem. I have multiple sheets with multiple line items and for each sheet make some calculations (weighted averages, averages, max/min etc.). Each sheet has the same format (headers are the same). So it would...
  5. O

    Rezise Range

    Can any one tell me why this does not work please. Runtime error 1004 Sub Ave_Data() Dim NumRows As Double Dim Avedata As Range Set Avedata = Range("A81:M1515") NumRows = Range("Avedata").Rows.Count Range("Avedata").Resize(RowSize:=NumRows).Select End Sub
  6. S

    Working with NamedRanges in VBA

    This might be elementary, but I cannot get it to work. I need to name range in VBA, work with the named ranges afterwards and change the names. I have split it into e couple of questions below. 1. Naming a range By using 'Worksheets("Ark1").Range("C4").Name =...

Watch MrExcel Video

This Week's Hot Topics

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
Top