How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask NewITZone Your Own Question
NewITZone, Computer Enthusiast
Category: Microsoft Office
Satisfied Customers: 90
Experience:  I have been using Office Pro for 10 years and implemented applications for business use.
Type Your Microsoft Office Question Here...
NewITZone is online now
A new question is answered every 9 seconds

I have a formula in a cell: =INDEX('BASE DE

Customer Question

Hi, I have a formula in a cell :
This extracts the content of the selected cell in a matrix.
up to there : ok
The problem is that I cannot keep the formats of that cell (text in red,underligned , bold characters etc...)
Could you help?
Thx so much as I do not sleep anymore.....:-)
Submitted: 1 year ago.
Category: Microsoft Office
Expert:  Russell H. replied 1 year ago.

Hi, thank you for contacting My name is***** will do my best to provide the right answer to your question.

The formatting of a cell cannot be 'kept', unless one applies either fixed formatting or conditional formatting to the 'destination' cell, that is the same formatting or conditional formatting as the original cell.

At least, not in a formula.

A VB or VBA programmed function could set the formatting of a 'destination' cell to be the same as that of an original cell, yes.

At least, that's my opinion.

Would any of the means I mentioned be OK for the usage you need instructions on?

Customer: replied 1 year ago.
ok Russell,That's what I feared...
Too bad for me.
Cab I set a macro that will make the job after the selection is done by the formula?
Expert:  Russell H. replied 1 year ago.

Do you mean, a macro that will set the formatting on the cell where the formula is ?

Customer: replied 1 year ago.
because this cell is part of an automatic report sent to customers, and we want tyo keep the format of the original text extracted by the formula
Expert:  Russell H. replied 1 year ago.

Would the formatting of the cell vary according to the result of the formula, or the value in the cell produced by the formula, or anything like that?

Customer: replied 1 year ago.
with the result of the formula.
If I write in a cell using bold characters , I may write with not bold and red Characters in italics in another one.
This is done to personalize the diagnosis reports
Expert:  Russell H. replied 1 year ago.

OK, I admit that I don't know how to make a macro work to produce a conditional result.

And I'm not skilled enough at VB / VBA scripting to write such a script for you.

So I judge it best to Opt Out, having elicited some of the details of what you need. This opens the case to other Experts.

Expert:  Suryanto replied 1 year ago.


Welcome to Justanswer

I am Suryanto and I can write the macro for you

Can you send me a copy of your file (please remove sensitive data)
You can attach the sample file using the paper clip icon in the reply box.

Thank you