The Paste Special features enable to copy and paste formulas/values and paste them along with their formatting.
Select Home -> Paste -> Paste Special
-> Formulas and number formats or Values and number formats.
Right click over the cell(s), select Paste Special -> Formulas and number formats or Values and number formats.
Screenshot // Copying & Pasting Cell Content Along with Formatting in Excel 2007
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.