Formula to copy cell to another cell

I have a cell that I want to fetch the value from another cell. I want it to copy all the stuff from the cell, like the text in it, the text type, the background color, the text colour and so on. How do I do that? Is it possible to do by refereing in the cell that I just dont want to get the text in it?
mdolandAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
Hello,

you cannot do that with formulas. You either need to copy and paste the cell manually, or use VBA to do that.

Would that be an option?

cheers, teylyn
0
gtglonerCommented:
There's no formula that does that, but there is some VBA that will....

Selection.Copy
    Range("A1").Select
    ActiveSheet.Paste

This code takes the formatting as well as the contents from one cell and inserts it into (in this case) Cell A1.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
Use this code in the Sheet module.

Any change you make to cell A2 will be reflected in cell F2.

Private Sub Worksheet_SelectionChange(ByVal Target As Range)

        Range("A2").Copy Range("F2")

End Sub

Open in new window


cheers, teylyn
0
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
gtg, selecting cells is slow and hardly ever necessary.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.