scripting.dictionary

  1. marreco

    Subtract two Columns(A-B) result in ColumnC (using Scripting.Dictionary)

    hi. I try learning about Scripting.Dictionary. My question is: How subtract two Columns(A-B) result in ColumnC (using Scripting.Dictionary). <colgroup><col style="mso-width-source:userset;mso-width-alt:2194;width:45pt" width="60"> <col...
  2. B

    How to sort Dictionary Object alphabetically

    I have a listbox with unique values using a scripting.dictionary object but all the items are out of order. Is there a way to sort alphabetically using the scripting.dictionary object? Private Sub ActivateFILTER_BROWSE(FilterButt*******ed_BROWSE As MSForms.Label, Field As String) Dim...
  3. E

    Add offset to my macro

    Hello Guys! I need little help with my script. It compares A2:A from two Sheets and if match it is copying cell F of one shhet to cell K of the other. It works fine But... I want to compare not only A2:A but A2:A and Offset(,3) to Offset(,4) something like Kl.Value & Kl.Offset(,3) to...
  4. T

    Retrieve dictionary value using key

    My worksheet is as follows: Key Metric1 Metric2 1 a aa I am trying to retrieve a value using the dictionary's key: Dim dic As Scripting.Dictionary Set dic = New Scripting.Dictionary dic.Add Cells(2, 1), Cells(2, 2) Debug.Print dic.Item(1) but it does...
  5. T

    Unique Combination of Values from 3 Columns

    I'm trying to create a set of VBA modules to auto format some raw data for a regular review. My first big hurdle is to extract the unique combinations of Customer Name, vehicle type, and Sleeper Code for the vehicles the customer currently has leased from us. Sub UniqueCustomerVehiclesList()...
  6. H

    Retrieving items from scripting.dictionary

    Sub MyQuestion() ' First populate the scripting.dictionary Dim d Set d = CreateObject("Scripting.Dictionary") d.Add "a", "Athens" d.Add "b", "Belgrade" d.Add "c", "Cairo" Debug.Print d.Item(1) ' Why does this return blank? ' How can I retreive items from this dictionary? ' I am very...
  7. T

    VBA: Calling Scripting.Dictionary Values Using a Column as a Key

    Hello all, I have a Master list of 230k IDs that correspond to different values depending on the raw data source. I have 30 Source sheets with ~140k IDs each, the sort and number of which are unique to each sheet. The Source sheets contain 2 columns, an ID column and a value ("Bucket") column...
  8. Y

    Help with VBA error correction

    Below is my code iStart = 38 'iEnd = Range("A" & iStart).End(xlDown).Row Set d = CreateObject("scripting.dictionary") With d For Each e In Range("E39:E108").Value 'd.CompareMode = vbTextCompare If Range("J", iStart).Value = "" Then...

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