I have code that works, but it feels crude. I'm filling a row of cells with chemical element symbols. Is there a better way than the code below?
Thanks for any tips
Tom
Code:
'FILL TOP ROW WITH ELEMENTS IN CLASSICAL ORDER
Range("A1").Select
Range("A1") = "Standard"
Range("B1") = "C"
Range("C1") = "Mn"
Range("D1") = "P"
Range("E1") = "S"
Range("F1") = "Si"
Range("G1") = "Cu"
Range("H1") = "Ni"
Range("I1") = "Cr"
Range("J1") = "V"
Range("K1") = "Mo"
Range("L1") = "W"
Range("M1") = "Co"
Range("N1") = "Ti"
Range("O1") = "As"
Range("P1") = "Sn"
Range("Q1") = "Al"
Range("R1") = "Nb"
Range("S1") = "Ta"
Range("T1") = "B"
Range("U1") = "Pb"
Range("V1") = "Zr"
Range("W1") = "Sb"
Range("X1") = "Ca"
Range("Y1") = "Mg"
Range("Z1") = "La"
Range("AA1") = "Zn"
Range("AB1") = "Be"
Range("AC1") = "N"
Range("AD1") = "Fe"
Range("AE1") = "END"
Thanks for any tips
Tom