Link to home
Start Free TrialLog in
Avatar of Rayne
RayneFlag for United States of America

asked on

Cell Fomrat - change and revert back to original format

Hello,

In cell F13 there is text. Now First I want that text to be merged ,wrap texted and spread over a number of cells. To do that, all I do is select F13:K16 and then press the button “Format Spread” and it does what it should. Now if I want to revert back all the changes and bring it back to the original, I press the button “ClearFormatAndRestore” – which unmerges the cells.
This button [ClearFormatAndRestore] seems to work - but with the exception that I am Not seeing the border color of individual cells returning to their original color state. It’s all white inside. I also indicated the desired at the bottom of the sheet as well.

Thanks
formatborder---Copy.xlsm
Avatar of Steve
Steve
Flag of United Kingdom of Great Britain and Northern Ireland image

Changing to white is not the same as changing to no fill:

Selection.Interior.Color = RGB(255, 255, 255)

Open in new window


should be

Selection.Interior.Pattern = xlNone

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Steve
Steve
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rayne

ASKER

This is great The Barman, thank you  :)