A new method for the conversion of aldehydes to methyl esters using pyridinium dichromate and methanol in dimethylformamide.