Hi there, is there an quicker method to perform the following on 'ActiveSheet"?
Thank You
For Each cell In ActiveSheet.Range("h2:h" & lr)
cell.Formula = Replace(cell.Formula, "ACA", "ACA/52")
cell.Formula = Replace(cell.Formula, "ACB", "ACB/18")
cell.Formula = Replace(cell.Formula, "ACG", "ACG/35")
cell.Formula = Replace(cell.Formula, "ACL", "ACL/32")
cell.Formula = Replace(cell.Formula, "ACP", "ACP/29")
cell.Formula = Replace(cell.Formula, "ACT", "ACT/OO")
cell.Formula = Replace(cell.Formula, "APU", "APU/39")
cell.Formula = Replace(cell.Formula, "ACU", "ACU/13")
cell.Formula = Replace(cell.Formula, "ACX", "ACX/19")
cell.Formula = Replace(cell.Formula, "ANA", "ANA/O4")
cell.Formula = Replace(cell.Formula, "ANB", "ANB/88")
cell.Formula = Replace(cell.Formula, "ANF", "ANF/36")
cell.Formula = Replace(cell.Formula, "ANG", "ANG/O8")
cell.Formula = Replace(cell.Formula, "ANP", "ANP/O1")
cell.Formula = Replace(cell.Formula, "ANT", "ANT/34")
cell.Formula = Replace(cell.Formula, "XXX", "XXX/99")
cell.Formula = Replace(cell.Formula, "CGC", "CGC/25")
cell.Formula = Replace(cell.Formula, "CGL", "CGL/22")
cell.Formula = Replace(cell.Formula, "CGM", "CGM/56")
cell.Formula = Replace(cell.Formula, "CGU", "CGU/38")
cell.Formula = Replace(cell.Formula, "CGW", "CGW/21")
cell.Formula = Replace(cell.Formula, "CNR", "CNR/O7")
cell.Formula = Replace(cell.Formula, "CNX", "CNX/91")
cell.Formula = Replace(cell.Formula, "EQI", "EQI/93")
cell.Formula = Replace(cell.Formula, "EQM", "EQM/42")
cell.Formula = Replace(cell.Formula, "EQT", "EQT/O5")
cell.Formula = Replace(cell.Formula, "FDX", "FDX/61")
cell.Formula = Replace(cell.Formula, "FOA", "FOA/69")
cell.Formula = Replace(cell.Formula, "FOC", "FOC/65")
cell.Formula = Replace(cell.Formula, "FOE", "FOE/62")
cell.Formula = Replace(cell.Formula, "FOI", "FOI/51")
cell.Formula = Replace(cell.Formula, "FOR", "FOR/64")
cell.Formula = Replace(cell.Formula, "FOU", "FOU/63")
cell.Formula = Replace(cell.Formula, "FOX", "FOX/95")
cell.Formula = Replace(cell.Formula, "GNB", "GNB/O6")
cell.Formula = Replace(cell.Formula, "GNC", "GNC/O3")
cell.Formula = Replace(cell.Formula, "GNM", "GNM/33")
cell.Formula = Replace(cell.Formula, "IFO", "IFO/68")
cell.Formula = Replace(cell.Formula, "IFT", "IFT/67")
cell.Formula = Replace(cell.Formula, "IFU", "IFU/66")
cell.Formula = Replace(cell.Formula, "IFX", "IFX/94")
cell.Formula = Replace(cell.Formula, "ISR", "ISR/26")
cell.Formula = Replace(cell.Formula, "ISS", "ISS/O2")
cell.Formula = Replace(cell.Formula, "LOD", "LOD/31")
cell.Formula = Replace(cell.Formula, "MTP", "MTP/41")
cell.Formula = Replace(cell.Formula, "MTF", "MTF/43")
cell.Formula = Replace(cell.Formula, "MGR", "MGR/44")
cell.Formula = Replace(cell.Formula, "MTM", "MTM/45")
cell.Formula = Replace(cell.Formula, "MTR", "MTR/46")
cell.Formula = Replace(cell.Formula, "MTH", "MTH/47")
cell.Formula = Replace(cell.Formula, "MTG", "MTG/48")
cell.Formula = Replace(cell.Formula, "MTD", "MTD/49")
cell.Formula = Replace(cell.Formula, "PCH", "PCH/16")
cell.Formula = Replace(cell.Formula, "PDB", "PDB/14")
cell.Formula = Replace(cell.Formula, "PSC", "PSC/11")
cell.Formula = Replace(cell.Formula, "PSG", "PSG/15")
cell.Formula = Replace(cell.Formula, "PSU", "PSU/17")
cell.Formula = Replace(cell.Formula, "PSX", "PSX/12")
cell.Formula = Replace(cell.Formula, "SEB", "SEB/87")
cell.Formula = Replace(cell.Formula, "SEE", "SEE/89")
cell.Formula = Replace(cell.Formula, "SEI", "SEI/86")
cell.Formula = Replace(cell.Formula, "SEJ", "SEJ/79")
cell.Formula = Replace(cell.Formula, "SEP", "SEP//84")
cell.Formula = Replace(cell.Formula, "SES", "SES/85")
cell.Formula = Replace(cell.Formula, "ANM", "ANM/37")
cell.Formula = Replace(cell.Formula, "SKD", "SKD/O9")
cell.Formula = Replace(cell.Formula, "SKE", "SKE/NA")
cell.Formula = Replace(cell.Formula, "SCS", "SCS/53")
cell.Formula = Replace(cell.Formula, "SDC", "SDC/55")
cell.Formula = Replace(cell.Formula, "SDX", "SDX/82")
cell.Formula = Replace(cell.Formula, "SOA", "SOA/81")
cell.Formula = Replace(cell.Formula, "SOM", "SOM/97")
cell.Formula = Replace(cell.Formula, "SOP", "SOP/96")
cell.Formula = Replace(cell.Formula, "SOT", "SOT/54")
cell.Formula = Replace(cell.Formula, "SOW", "SOW/98")
cell.Formula = Replace(cell.Formula, "SUR", "SUR/83")
cell.Formula = Replace(cell.Formula, "TRU", "TRU/92")
cell.Formula = Replace(cell.Formula, "WXD", "WXD/72")
cell.Formula = Replace(cell.Formula, "WXL", "WXL/71")
cell.Formula = Replace(cell.Formula, "WXR", "WXR/77")
cell.Formula = Replace(cell.Formula, "WXS", "WXS/75")
Thank You
For Each cell In ActiveSheet.Range("h2:h" & lr)
cell.Formula = Replace(cell.Formula, "ACA", "ACA/52")
cell.Formula = Replace(cell.Formula, "ACB", "ACB/18")
cell.Formula = Replace(cell.Formula, "ACG", "ACG/35")
cell.Formula = Replace(cell.Formula, "ACL", "ACL/32")
cell.Formula = Replace(cell.Formula, "ACP", "ACP/29")
cell.Formula = Replace(cell.Formula, "ACT", "ACT/OO")
cell.Formula = Replace(cell.Formula, "APU", "APU/39")
cell.Formula = Replace(cell.Formula, "ACU", "ACU/13")
cell.Formula = Replace(cell.Formula, "ACX", "ACX/19")
cell.Formula = Replace(cell.Formula, "ANA", "ANA/O4")
cell.Formula = Replace(cell.Formula, "ANB", "ANB/88")
cell.Formula = Replace(cell.Formula, "ANF", "ANF/36")
cell.Formula = Replace(cell.Formula, "ANG", "ANG/O8")
cell.Formula = Replace(cell.Formula, "ANP", "ANP/O1")
cell.Formula = Replace(cell.Formula, "ANT", "ANT/34")
cell.Formula = Replace(cell.Formula, "XXX", "XXX/99")
cell.Formula = Replace(cell.Formula, "CGC", "CGC/25")
cell.Formula = Replace(cell.Formula, "CGL", "CGL/22")
cell.Formula = Replace(cell.Formula, "CGM", "CGM/56")
cell.Formula = Replace(cell.Formula, "CGU", "CGU/38")
cell.Formula = Replace(cell.Formula, "CGW", "CGW/21")
cell.Formula = Replace(cell.Formula, "CNR", "CNR/O7")
cell.Formula = Replace(cell.Formula, "CNX", "CNX/91")
cell.Formula = Replace(cell.Formula, "EQI", "EQI/93")
cell.Formula = Replace(cell.Formula, "EQM", "EQM/42")
cell.Formula = Replace(cell.Formula, "EQT", "EQT/O5")
cell.Formula = Replace(cell.Formula, "FDX", "FDX/61")
cell.Formula = Replace(cell.Formula, "FOA", "FOA/69")
cell.Formula = Replace(cell.Formula, "FOC", "FOC/65")
cell.Formula = Replace(cell.Formula, "FOE", "FOE/62")
cell.Formula = Replace(cell.Formula, "FOI", "FOI/51")
cell.Formula = Replace(cell.Formula, "FOR", "FOR/64")
cell.Formula = Replace(cell.Formula, "FOU", "FOU/63")
cell.Formula = Replace(cell.Formula, "FOX", "FOX/95")
cell.Formula = Replace(cell.Formula, "GNB", "GNB/O6")
cell.Formula = Replace(cell.Formula, "GNC", "GNC/O3")
cell.Formula = Replace(cell.Formula, "GNM", "GNM/33")
cell.Formula = Replace(cell.Formula, "IFO", "IFO/68")
cell.Formula = Replace(cell.Formula, "IFT", "IFT/67")
cell.Formula = Replace(cell.Formula, "IFU", "IFU/66")
cell.Formula = Replace(cell.Formula, "IFX", "IFX/94")
cell.Formula = Replace(cell.Formula, "ISR", "ISR/26")
cell.Formula = Replace(cell.Formula, "ISS", "ISS/O2")
cell.Formula = Replace(cell.Formula, "LOD", "LOD/31")
cell.Formula = Replace(cell.Formula, "MTP", "MTP/41")
cell.Formula = Replace(cell.Formula, "MTF", "MTF/43")
cell.Formula = Replace(cell.Formula, "MGR", "MGR/44")
cell.Formula = Replace(cell.Formula, "MTM", "MTM/45")
cell.Formula = Replace(cell.Formula, "MTR", "MTR/46")
cell.Formula = Replace(cell.Formula, "MTH", "MTH/47")
cell.Formula = Replace(cell.Formula, "MTG", "MTG/48")
cell.Formula = Replace(cell.Formula, "MTD", "MTD/49")
cell.Formula = Replace(cell.Formula, "PCH", "PCH/16")
cell.Formula = Replace(cell.Formula, "PDB", "PDB/14")
cell.Formula = Replace(cell.Formula, "PSC", "PSC/11")
cell.Formula = Replace(cell.Formula, "PSG", "PSG/15")
cell.Formula = Replace(cell.Formula, "PSU", "PSU/17")
cell.Formula = Replace(cell.Formula, "PSX", "PSX/12")
cell.Formula = Replace(cell.Formula, "SEB", "SEB/87")
cell.Formula = Replace(cell.Formula, "SEE", "SEE/89")
cell.Formula = Replace(cell.Formula, "SEI", "SEI/86")
cell.Formula = Replace(cell.Formula, "SEJ", "SEJ/79")
cell.Formula = Replace(cell.Formula, "SEP", "SEP//84")
cell.Formula = Replace(cell.Formula, "SES", "SES/85")
cell.Formula = Replace(cell.Formula, "ANM", "ANM/37")
cell.Formula = Replace(cell.Formula, "SKD", "SKD/O9")
cell.Formula = Replace(cell.Formula, "SKE", "SKE/NA")
cell.Formula = Replace(cell.Formula, "SCS", "SCS/53")
cell.Formula = Replace(cell.Formula, "SDC", "SDC/55")
cell.Formula = Replace(cell.Formula, "SDX", "SDX/82")
cell.Formula = Replace(cell.Formula, "SOA", "SOA/81")
cell.Formula = Replace(cell.Formula, "SOM", "SOM/97")
cell.Formula = Replace(cell.Formula, "SOP", "SOP/96")
cell.Formula = Replace(cell.Formula, "SOT", "SOT/54")
cell.Formula = Replace(cell.Formula, "SOW", "SOW/98")
cell.Formula = Replace(cell.Formula, "SUR", "SUR/83")
cell.Formula = Replace(cell.Formula, "TRU", "TRU/92")
cell.Formula = Replace(cell.Formula, "WXD", "WXD/72")
cell.Formula = Replace(cell.Formula, "WXL", "WXL/71")
cell.Formula = Replace(cell.Formula, "WXR", "WXR/77")
cell.Formula = Replace(cell.Formula, "WXS", "WXS/75")