MrExcel Publishing
Your One Stop for Excel Tips & Solutions

Linking formats

Posted by Diana on January 04, 2002 12:36 PM

Is it possible to have a cell in one worksheet link to another, but link the format not just the value?

Thank you!

Posted by Ken on January 04, 2002 2:56 PM

Hi Diana,

If you paste the contents of the following macro within the Sheet2 Worksheet Activate, this will copy cell A1 from Sheet1 to cell A1 Sheet2. Obviously adjust the cell range to the ranges you need. To paste macro. Right click Sheet2, select "View Code", within Visual Basic window are two dropdown boxes. On the left dropdown box select Worksheet Activate, copy and paste the contents of the following macro.

Application.EnableEvents = False
Application.CutCopyMode = False
Application.EnableEvents = True