Find & Replace VBA - read txt in cell in column A, find if same exists in any cell in column C, replace it with txt found in adjacent cell in column B

abramo

New Member
Joined
May 14, 2013
Messages
37
In past had found solution to issue, requested by another member and published in mrexcel, but I cannot locate it any more. So here is my request for Macro:

Find & Replace macro :
EVERYTHING IS IN A SINGLE SHEET

- read txt in cell in column A
- find if same txt exists in *any* cell in column D (loop all D)
- write new txt in cell in column C euqal to txt found in cell in B which is adjacent to our cell in column A (pairs A / B contain FIND (A) and REPLACE BY (B)
- repeat by next cell in column A
- end when ALL cells in column A have been dealt with

MREXCEL-find-replace-2023-03-23-A.xlsx
ABCD
1CATEGORY-ORIGINALCategory-processedCategory-processedCATEGORY-ORIGINAL
2Compressors, Air Tanks & Pneumatic Tools > Air and Water AftercoolersCompressor Air & Water AftercoolersCompressor Air & Water AftercoolersCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
3Compressors, Air Tanks & Pneumatic Tools > Air Compressor AccessoriesAir Compressor AccessoriesCompressor Air & Water AftercoolersCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
4Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator KitsAir Compressor Separator KitsCompressor Air & Water AftercoolersCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
5Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts KitsAir Compressor Parts KitsCompressor Air & Water AftercoolersCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
6Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air TanksAir Compressor Portable Air TanksCompressor Air & Water AftercoolersCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
7Compressor Air & Water AftercoolersCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
8Compressor Air & Water AftercoolersCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
9Compressor Air & Water AftercoolersCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
10Compressor Air & Water AftercoolersCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
11Compressor Air & Water AftercoolersCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
12Compressor Air & Water AftercoolersCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
13Compressor Air & Water AftercoolersCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
14Air Compressor AccessoriesCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
15Air Compressor AccessoriesCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
16Air Compressor AccessoriesCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
17Air Compressor AccessoriesCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
18Air Compressor AccessoriesCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
19Air Compressor AccessoriesCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
20Air Compressor AccessoriesCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
21Air Compressor AccessoriesCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
22Air Compressor AccessoriesCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
23Air Compressor AccessoriesCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
24Air Compressor AccessoriesCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
25Air Compressor Separator KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
26Air Compressor Separator KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
27Air Compressor Separator KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
28Air Compressor Separator KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
29Air Compressor Separator KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
30Air Compressor Separator KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
31Air Compressor Separator KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
32Air Compressor Separator KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
33Air Compressor Separator KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
34Air Compressor Separator KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
35Air Compressor Parts KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts Kits
36Air Compressor Parts KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts Kits
37Air Compressor Parts KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts Kits
38Air Compressor Parts KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts Kits
39Air Compressor Parts KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts Kits
40Air Compressor Parts KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts Kits
41Air Compressor Parts KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts Kits
42Air Compressor Parts KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts Kits
43Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
44Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
45Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
46Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
47Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
48Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
49Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
50Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
51Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
52Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
53Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
54Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
55Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
56Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
57Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
58Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
59Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
60Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
Sheet1


Explanation of example:
Columns A and B contain the pairs of FIND (col A) and REPLACE BY (col B)
Column D contains the original texts to be replaced
Column C contains the end result provided by the Find & Replace process

Hope some kindred spirit may assist here.
Thanks!

PS: OUCH : title of thread wrong! Should read:
Find & Replace VBA - read txt in cell in column A, find if same exists in any cell in column D, replace it in C with txt found in adjacent cell in column B
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
How about this:
VBA Code:
Sub Categories()

    Dim arr
    Dim lCell As Range, i As Long, d As Long
    Set lCell = Cells(Cells.Find(What:="*", SearchOrder:=xlRows, _
        SearchDirection:=xlPrevious, LookIn:=xlFormulas).Row, _
        Cells.Find(What:="*", SearchOrder:=xlByColumns, _
        SearchDirection:=xlPrevious, LookIn:=xlFormulas).Column)
    arr = ActiveSheet.Range("A2:D" & lCell.Row)
    For i = 1 To Cells(Rows.Count, 1).End(xlUp).Row - 1
        For d = 1 To UBound(arr)
            If arr(i, 1) = arr(d, 4) Then arr(d, 3) = arr(i, 2)
        Next
    Next
    ActiveSheet.Range("A2").Resize(UBound(arr, 1), UBound(arr, 2)) = arr
    
End Sub
 
Upvote 1
Solution
Many thanks @igold - by testing I get error "Object variable or with block variable not set"
I'll be damned if I understand the meaning of this!
Any ideas?
Thanks!
 
Upvote 0
Are you all set or are you getting errors...
 
Upvote 0
Yes, by testing I get error "Object variable or with block variable not set"
The code does not perform.
 
Upvote 0
Which line is giving you the error. The code worked flawlessly on the data you provided in the OP. Have you altered the code at all...
 
Upvote 0
Thanks, I just copy/pasted the code without any intervention.
Upon running the macro I immediately get error box with the error "Object variable or with block variable not set"
I run the macro on exactly the same sheet provided here.
As the code has performed ok for you, I have to check any issues locally.
I will revert when ready, tomorrow.

Meantime, thanks again - have a nice day.
 
Upvote 0
With this data:
Categoris.xlsm
ABCD
1CATEGORY-ORIGINALCategory-processedCategory-processedCATEGORY-ORIGINAL
2Compressors, Air Tanks & Pneumatic Tools > Air and Water AftercoolersCompressor Air & Water AftercoolersCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
3Compressors, Air Tanks & Pneumatic Tools > Air Compressor AccessoriesAir Compressor AccessoriesCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
4Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator KitsAir Compressor Separator KitsCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
5Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts KitsAir Compressor Parts KitsCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
6Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air TanksAir Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
7Compressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
8Compressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
9Compressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
10Compressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
11Compressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
12Compressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
13Compressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
14Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
15Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
16Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
17Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
18Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
19Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
20Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
21Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
22Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
23Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
24Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
25Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
26Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
27Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
28Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
29Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
30Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
31Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
32Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
33Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
34Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
35Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts Kits
36Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts Kits
37Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts Kits
38Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts Kits
39Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts Kits
40Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts Kits
41Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts Kits
42Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts Kits
43Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
44Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
45Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
46Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
47Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
48Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
49Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
50Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
51Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
52Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
53Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
54Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
55Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
56Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
57Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
58Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
59Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
60Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
Sheet1 (3)


this code:
VBA Code:
Sub Categories()

    Dim arr
    Dim lCell As Range, i As Long, d As Long
    Set lCell = Cells(Cells.Find(What:="*", SearchOrder:=xlRows, _
        SearchDirection:=xlPrevious, LookIn:=xlFormulas).Row, _
        Cells.Find(What:="*", SearchOrder:=xlByColumns, _
        SearchDirection:=xlPrevious, LookIn:=xlFormulas).Column)
    arr = ActiveSheet.Range("A2:D" & lCell.Row)
    For i = 1 To Cells(Rows.Count, 1).End(xlUp).Row - 1
        For d = 1 To UBound(arr)
            If arr(i, 1) = arr(d, 4) Then arr(d, 3) = arr(i, 2)
        Next
    Next
    ActiveSheet.Range("A2").Resize(UBound(arr, 1), UBound(arr, 2)) = arr
    
End Sub
Returns this:
Categoris.xlsm
ABCD
1CATEGORY-ORIGINALCategory-processedCategory-processedCATEGORY-ORIGINAL
2Compressors, Air Tanks & Pneumatic Tools > Air and Water AftercoolersCompressor Air & Water AftercoolersCompressor Air & Water AftercoolersCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
3Compressors, Air Tanks & Pneumatic Tools > Air Compressor AccessoriesAir Compressor AccessoriesCompressor Air & Water AftercoolersCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
4Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator KitsAir Compressor Separator KitsCompressor Air & Water AftercoolersCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
5Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts KitsAir Compressor Parts KitsCompressor Air & Water AftercoolersCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
6Compressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air TanksAir Compressor Portable Air TanksCompressor Air & Water AftercoolersCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
7Compressor Air & Water AftercoolersCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
8Compressor Air & Water AftercoolersCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
9Compressor Air & Water AftercoolersCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
10Compressor Air & Water AftercoolersCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
11Compressor Air & Water AftercoolersCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
12Compressor Air & Water AftercoolersCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
13Compressor Air & Water AftercoolersCompressors, Air Tanks & Pneumatic Tools > Air and Water Aftercoolers
14Air Compressor AccessoriesCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
15Air Compressor AccessoriesCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
16Air Compressor AccessoriesCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
17Air Compressor AccessoriesCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
18Air Compressor AccessoriesCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
19Air Compressor AccessoriesCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
20Air Compressor AccessoriesCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
21Air Compressor AccessoriesCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
22Air Compressor AccessoriesCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
23Air Compressor AccessoriesCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
24Air Compressor AccessoriesCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories
25Air Compressor Separator KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
26Air Compressor Separator KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
27Air Compressor Separator KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
28Air Compressor Separator KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
29Air Compressor Separator KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
30Air Compressor Separator KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
31Air Compressor Separator KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
32Air Compressor Separator KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
33Air Compressor Separator KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
34Air Compressor Separator KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Compressor Separator Kits
35Air Compressor Parts KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts Kits
36Air Compressor Parts KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts Kits
37Air Compressor Parts KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts Kits
38Air Compressor Parts KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts Kits
39Air Compressor Parts KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts Kits
40Air Compressor Parts KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts Kits
41Air Compressor Parts KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts Kits
42Air Compressor Parts KitsCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Parts Kits
43Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
44Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
45Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
46Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
47Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
48Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
49Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
50Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
51Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
52Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
53Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
54Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
55Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
56Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
57Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
58Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
59Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
60Air Compressor Portable Air TanksCompressors, Air Tanks & Pneumatic Tools > Air Compressor Accessories > Portable Air Tanks
Sheet1 (3)
 
Upvote 0
Thanks - you got this 100% correct!
Now I have to find out why locally I get an immediate error box at the worksheet upon running - while I get no error indication at VBA code debugging.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,021
Latest member
Justyna P

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