union

  1. L

    For Loop within For Loop - Modifying Bar Chart Data Selection Range

    Hello guys first post here, So, I have a list of automotive parts, their start of production, and the capacity of the line like this: Current Part W Part X Part Y Part Z July, 2016 August, 2016...
  2. C

    union , multiselection with .Find method and static range

    Hi everyone! I'm struggling with the following code which you can see below. It is totally a pain in the *** now. I really need some help. This code is a search tool which looks for criteria from every worksheet except the summary and the list. After the .Find founds the word, then the code...
  3. E

    Using UNION and Ranges To Speed Up Deleting Many Columns?

    Trying to use Union and ranges to speed up deleting empty columns, but going wrong somewhere with the code. I read here that deleting columns individually slows down performance significantly. Script speed can be improved by defining a "master" range to include all the ranges (columns) to be...
  4. E

    Can someone explain union , Const and

    Hello people, Could someone explain following terms/declarations or whatever you call it: Const Union Concat Chr I did read some on Microsoft website but I didnt understood. Could someone help me? Thank you in advance
  5. A

    trouble using Union and Index, Invalid procedure call or argument

    I am trying to paste some copied data from a group of cells on one sheet to a group of cells in another workbook. I keep getting the "Invalid procedure call or argument" error I am working with names from the name manager in both workbooks The error appears on the red area of code Suggestions...
  6. E

    Another multiple range selection question

    Hello everyone, This is my first post. I couldn't find the right answer I want, that's why I am posting another select multiple range question. I've checked the forum and found couple of methods to select multiple ranges, but none of them worked for me. here is my question: This is my...
  7. D

    Excel 2010: Delete rows based on cell values

    Should be simple but I'm stuck on this: I want to clean up large files by deleting all rows where certain cells do (or dont) contain certain values. I'm fairly new to vba, so I did what I usually do and cobbled up my script from posts here and on other forums, and then resolved the runtime...
  8. H

    Union not hardcoded

    Hello, I want to fill multiple Cells at once that are 5 columns off from each other, so I use Union(Cells(2, i), Cells(2, i + 5), Cells(2, i + 10), ...) = "Text" But the amount of cells is variable. Everytime we need a new set of columns, I need to change the code to implement them. What I...
  9. L

    VBA Union not working consistenly

    I am trying to scroll through each row of a range and copying row to a new range that match a certain criteria. If each row matches the union works correctly. If there is a row that does not match the criteria then then next row that does match does not get joined by the union command -- even...
  10. P

    Create a table from named ranges

    I am creating a financial forecast model that forecasts costs and revenues for about 15 departments; the costs change over time from inflation, volume changes and capital induced costs. I currently have about 45 tables, one for type of cost change for each department. I came across the following...
  11. R

    Union and Arguments

    Hi. I have a spreadsheet the I wish to select multiple columns that are not continuous. The problem is, the columns to select may differ therefore, I do not know ahead of time how many arguments in a union that I need. Is there a method to dynamically define the number of union arguments...
  12. Z

    Checking if selected cells is a union

    Hello. I would like to check if selected cells is a union of several ranges or one solid range. I am sure there is a way, but did not manage to find it. Does anyone know how to do it?
  13. Johnny Thunder

    VBA Question - Multiple Range Union Copy Pate - Excel 2010

    Hello All, I have been working on project and have come to a halt because of code that isn't giving the needed result, I will explain below. This code copies only the first range (Range1) properly from cell ("B14:H" & Lastrow) but leaves out range2? Sub Copybook() Dim range1 As Range...
  14. Johnny Thunder

    VBA Question: Using UNION to select multiple Ranges - Not working

    Hello All, I would first like to thank the MrExcel community for all the help in previous posts and future! I am working on code that uses the UNION function to coming ranges I have set and copy the selection, currently only the first portion of the union is firing? Any help would be much...
  15. R

    Convert a combination of ranges into only one range

    I have a range in VBA that says for example: (A1, A2, A3, A4, A6, A7, A8, A13, A15) Is it possible to merge that range together and simplify it into: (A1:A4, A6:A8, A13, A15) Note that the range covers cells from A1 to A15 but excluding some of the cells in that set. There is no specific...
  16. A

    Extract subrange from a range

    Hello and thank you for your time and help, I am trying to create a function which would extract a subset from a given range depending on the values contained in another range. The final aim is to be able to use the Percentrank function on dynamically changeable groups <tbody> A B C D 1...
  17. C

    Officially confused - Union Range??

    So I'm feeling better about what I know, I thought. (I tip my hat to all of you that have this stuff down.) Sub Shotgun() ' Builds the tee box array for a shotgun start in the TeeTimes page ' Reverse Shotgun starting with hole 1 and working backwards ' Par 4's & Par 5's have two groups - Par...
  18. N

    Help needed to troubleshoot VBA code, for creation of a summary sheet.

    Hi forum members, I am obviously lacking in the VBA knowledge department, and am trying to create a summary sheet consisting of data that is collected from five other worksheets in the same workbook. On the sheets the data is being collected from I am checking various named ranges for the...
  19. P

    Trying to UNION same cell and blank cells. Is this possible?

    Hello, I'm trying to select the same cell and a blank cell multiple with a UNION(). Is this possible? Here's a summary of my code: Dim c Dim Rng As Range Dim blankC As Range Set blankC = Range("XFD1048576") Set Rng = Union(Cells(c.Row, 1), Cells(c.Row, 4), Cells(c.Row, 2), _...
  20. B

    clearing empty (but possibly formatted) cells

    I have an working range which I can define (at any particular point) and wish to CLEAR the rest of the WS of any possible formatting, borders or other leftover content. Is there a function to exclude my working range from the entire WS or what excel thinks is the "UsedRange" (vs the real...

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