Sub PdfData()
'
' Macro2 Macro
' Macro recorded 16/05/2011 by srabon
'01£££££££££££££££££££££££££££££££££££££££££££££££££££££££
Range("C1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=R[1]C[-2]-RC[-2]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
Range("D1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=RC[-2]/1048576/RC[-1]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
Range("E1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=RC[-2]*RC[-1]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
'02£££££££££££££££££££££££££££££££££££££££££££££££££££££££
Range("H1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=R[1]C[-2]-RC[-2]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
Range("I1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=RC[-2]/1048576/RC[-1]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
Range("J1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=RC[-2]*RC[-1]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
'03£££££££££££££££££££££££££££££££££££££££££££££££££££££££
Range("M1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=R[1]C[-2]-RC[-2]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
Range("N1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=RC[-2]/1048576/RC[-1]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
Range("O1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=RC[-2]*RC[-1]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
'04£££££££££££££££££££££££££££££££££££££££££££££££££££££££
Range("R1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=R[1]C[-2]-RC[-2]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
Range("S1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=RC[-2]/1048576/RC[-1]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
Range("T1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=RC[-2]*RC[-1]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
'05£££££££££££££££££££££££££££££££££££££££££££££££££££££££
Range("W1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=R[1]C[-2]-RC[-2]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
Range("X1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=RC[-2]/1048576/RC[-1]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
Range("Y1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=RC[-2]*RC[-1]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
'06£££££££££££££££££££££££££££££££££££££££££££££££££££££££
Range("AB1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=R[1]C[-2]-RC[-2]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
Range("AC1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=RC[-2]/1048576/RC[-1]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
Range("AD1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=RC[-2]*RC[-1]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
'07£££££££££££££££££££££££££££££££££££££££££££££££££££££££
Range("AG1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=R[1]C[-2]-RC[-2]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
Range("AH1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=RC[-2]/1048576/RC[-1]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
Range("AI1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=RC[-2]*RC[-1]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
'08£££££££££££££££££££££££££££££££££££££££££££££££££££££££
Range("AL1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=R[1]C[-2]-RC[-2]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
Range("AM1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=RC[-2]/1048576/RC[-1]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
Range("AN1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=RC[-2]*RC[-1]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
'09£££££££££££££££££££££££££££££££££££££££££££££££££££££££
Range("AQ1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=R[1]C[-2]-RC[-2]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
Range("AR1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=RC[-2]/1048576/RC[-1]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
Range("AS1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=RC[-2]*RC[-1]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
'10£££££££££££££££££££££££££££££££££££££££££££££££££££££££
Range("AV1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=R[1]C[-2]-RC[-2]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
Range("AW1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=RC[-2]/1048576/RC[-1]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
Range("AX1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=RC[-2]*RC[-1]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
'11£££££££££££££££££££££££££££££££££££££££££££££££££££££££
Range("BA1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=R[1]C[-2]-RC[-2]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
Range("BB1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=RC[-2]/1048576/RC[-1]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
Range("BC1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=RC[-2]*RC[-1]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
'12£££££££££££££££££££££££££££££££££££££££££££££££££££££££
Range("BF1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=R[1]C[-2]-RC[-2]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
Range("BG1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=RC[-2]/1048576/RC[-1]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
Range("BH1").Select
Do Until IsEmpty(ActiveCell.Offset(, -1))
' Continue until cell in 1 column left is not empty
ActiveCell.FormulaR1C1 = "=RC[-2]*RC[-1]"
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
End Sub