+ Reply to Thread
Results 1 to 25 of 25

Reveal formatting

  1. #1
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Reveal formatting

    See the attached workbook. B1 is visually different from A1 and C1, but everything I've been able to reveal shows they're formatted the same. However, if copy and paste the formats one to another, you can see that they're different.

    B1 comes from another report, and I want to reproduce the same style on a current report without having to copy/paste from the old report. So, how do I reveal what makes B1 different?

    Thanks,
    John
    Attached Files Attached Files
    Last edited by jomili; 11-23-2011 at 04:24 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Reveal formatting

    B1 is bold whereas A1 and C1 are not. B1 also has a white fill pattern, whereas, A1 and C1 do not.

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Reveal formatting

    Actually, it's just the opposite. A1 and C1 are bolded, B1 is not. I was trying to achieve the same effect as in B1 by bolding those two. Try unbolding them to see how different they are.

    I don't see the white fill you mentioned, but turning on the white fill doesn't seem to make a difference to the visual aspects.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Reveal formatting

    Apologies, you're right, of course, about the bold font. It was just that the unbolded B1 looked darker than the other two ... hence the confusion when I came to put it into words.

    Format | Cells | Patterns ... it's the white block at the bottom right that is selected. The others have no colour selected.

    That's also why you lose the grid lines.


    Regards

  5. #5
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Reveal formatting

    Okay, I see now where the white pattern is selected. But, as you can see, yourself, unbolded Arial 8 with white pattern in A1 is not the same as unbolded Arial 8 with white pattern in B1. Hence my confusion. What's making the difference?

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Reveal formatting

    I don't know if it's something to do with contrast. I switched bold on and off a couple of times and it looked the same.

    Regards

  7. #7
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: Reveal formatting

    B1 has the hyperlink style applied to it. The vertical alignment is different. Wrap text is different.

  8. #8
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Reveal formatting

    B1 has a style called Hyperlink applied to it, but that style is clearly not the same as the Hyperlink style in the current (or a normal) workbook.
    Remember what the dormouse said
    Feed your head

  9. #9
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Reveal formatting

    Okay, I think the Hyperlink style as it is in B2 is what I want. I'm not familiar with styles; any idea how I'd go about giving a cell that style without actually making it a hyperlink?

  10. #10
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Reveal formatting

    If you manually assign the Hyperlink style to the cell, it should give you an option to redefine the style based on the cell. You can then apply that style to other cells.

  11. #11
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Reveal formatting

    I've been trying to do just that, and gave it up because I was getting frustrated. Doing it manually, I can't quite reproduce it. In fact, if I go to Format/Style on the B1 cell, if I change anything, and change it back, the formatting in the cell reverts to the same type as the cells next to it. So, I don't how to get that same formatting, other than to copy it from another report that has it, which seems like a lot of bother.

  12. #12
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Reveal formatting

    If you select B1, then select Hyperlink from the Style drop down, does it not give you the option to redefine the style based on the selected cell?

  13. #13
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Reveal formatting

    If I select B1, then go to Format/Style, it shows the "Style Includes", and "Font" is selected. Next to font, it says "Arial 10, Underline Blue" (I don't know how that text gets in there, other than that it's supplied by modifications). If I then hit "Modify", the "Format Cells" dialogue box comes up. If I change anything in this dialogue (for instance, changing font size to 8 instead of 10) my font reverts to the blue hyperlink font. If I try to select the orange color, it DOES turn orange, but the same orange as it's brothers in A1 and C1. I don't know how to manually get that same extra boldedness of the current B1.

  14. #14
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: Reveal formatting

    Check the style from the file you originally copied this cell/style from.

  15. #15
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Reveal formatting

    Good idea, but I don't know that it helps.

    The original report was system generated. The labels, if I hover over them, are hyperlinks
    Please Login or Register  to view this content.
    Going to Format/Style, it's the same setup I just described, but instead of "Arial 10, Underline Blue" it says "Arial 8, Color 46". So where do I go from here?

  16. #16
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Reveal formatting

    You need to have the Style drop down showing. Then select B1. Then choose Hyperlink from the style drop down (not Format-Style). It should give you an option to redefine the style based on the cell. (I'm not at 2003 at the mo so don't know if the end result will be correct.)

  17. #17
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: Reveal formatting

    It is almost as if the font was stretched a little. Like the system you exported from had its own Arial font file it used, and that font was stretched to fit something. And through the magic of copy/paste, it has held that stretched look. But when you apply a bold to it, it re-draws the font.

    Or maybe the system has variations of Bold that excel does not support. Like Extra Bold, or something. And this thicker font attribute comes accross, but gets lost when you change the bold setting.

  18. #18
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Reveal formatting

    Whizbang, you've pretty much summed it up. I don't know how it did it, but I can copy and paste, but have no idea how to recreate it.

    Romper, I'm not sure what the Style dropdown is; I assume you're thinking of the Ribbon, which we don't have in 2003.

  19. #19
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Reveal formatting

    In excel 2003, you have Format | Style. Not as sophisticated as 2007.

    Which raises an interesting point ... where did the source spreadsheet come from? What version of Excel created it?

    Regards, TMS

  20. #20
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Reveal formatting

    See attached screenshot from 2003. I have modified the style so you can use it in the attached copy of the workbook.
    Attached Images Attached Images
    Attached Files Attached Files

  21. #21
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Reveal formatting

    Okay Romperstomper, you've floored me.

    I can see in your workbook that you've modified the hyperlink style so it can be applied to other cells. I can see in the picture where you're getting your "style" dropdown, but I can't reproduce it. Is this a custom toolbar you've created, or an option somewhere that I need to turn on?

    I'm trying to read up on styles, but I'm not finding how to copy a style to my Personal.xls so it will be available in all workbooks. Any ideas?

  22. #22
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Reveal formatting

    I customised my toolbar to add the Styles dropdown.

    Adding the style to Personal.xls will not make it available to all workbooks. Styles are workbook specific.

  23. #23
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Reveal formatting

    Well, if it's workbook specific then I guess I better just drop the matter. I wanted to use that same style in other workbooks, but it doesn't sound like it would be an easy thing to do.

    BTW, how did you do the customization to add the styles dropdown?

  24. #24
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Reveal formatting

    View - Toolbars - Customize..., then just drag any controls you want wherever you want them. (the Style dropdown is in the Formatting section on the Commands tab.)

  25. #25
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Reveal formatting

    Thanks Romper. I've done some other customizations, but never fooled any with Styles, but it looks like now I might need to.

    Thanks,
    John

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1