Solved

Excel Reference Cells and Characteristics

Posted on 2013-05-12
3
267 Views
Last Modified: 2013-05-12
EE Pros,

Formatting Question.  Is there a way (besides cut and paste), where I can reference a cell location from another sheet (same WB) and the new cell, with the referenced cell will inherit all of the formatting or characteristics of the referenced cell?  That is to say, if I have a cell, let's say B10 in Sheet 2 that has a yellow background, 14 pt. font, Bold and underlined, with "comments", and I reference it into A10 on Sheet 1 (i.e. =Sheet2!B10), can I get it to show up with the same formatting and comments?

Hopefully the answer is "yes"........... ;-)

B.
0
Comment
Question by:Bright01
3 Comments
 
LVL 43

Assisted Solution

by:Saqib Husain, Syed
Saqib Husain, Syed earned 150 total points
Comment Utility
No.

Maybe you can try VBA otherwise no....at least not upto 2010
0
 
LVL 80

Accepted Solution

by:
byundt earned 350 total points
Comment Utility
I agree with Saqibh. Excel cannot do what you want except by Copy/Paste or VBA.

inherit all of the formatting or characteristics of the referenced cell
For VBA solutions, the word "all" is the tricky part. Excel formatting and characteristics are extremely granular. Each characteristic is an individual property, so the general solution means you need to list all possible characteristics and copy them over from one cell to the other.

The next problem is the fact that changing the format of a cell does not raise an event that Excel can trap. In other words, if Sheet1!B10 and Sheet2!C10 are linked, VBA doesn't know that you have changed the formatting on Sheet1!B10. So you have to use something else to trigger the formatting updates on Sheet2. There are drawbacks to each possible method. If you use the Worksheet_Activate event, then you need to troll through all the formatting properties of every cell that is "linked" on the target worksheet. Heaven help you if you decided to link an entire column, and get tired of waiting for the update. If you use a Worksheet_SelectionChange event, then it will be triggering all the time as you mouse around the workbook--plus you really need to keep track of where you had been last, because that's where the potential formatting changes are going to be.

I doubt anyone will try to solve the "general" problem for you. It's too involved and liable to make your workbook slow to respond. You might, however, get a VBA macro response if you specify particular attributes that you want to link, and for which cells. An example of such a limited solution appears in the attached workbook.
LinkCellsFromTwoWorksheets.xls
0
 

Author Closing Comment

by:Bright01
Comment Utility
Thanks guys!  Perhaps we can recommend this to MS.   Seems like it could be done through the app. rather easily.

B.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now