+ Reply to Thread
Results 1 to 9 of 9

Control font size with spinner button

  1. #1
    Forum Contributor
    Join Date
    03-05-2009
    Location
    usa
    MS-Off Ver
    Excel 2016 32Bit
    Posts
    1,173

    Control font size with spinner button

    Control Font size with spinner button, but if cell has no data font size is default to 12.
    Attached Files Attached Files
    Last edited by zplugger; 02-06-2016 at 08:07 PM.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Control font size with spinner button

    Try:
    Please Login or Register  to view this content.
    Last edited by Olly; 02-06-2016 at 09:58 AM.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Contributor
    Join Date
    03-05-2009
    Location
    usa
    MS-Off Ver
    Excel 2016 32Bit
    Posts
    1,173

    Re: Control font size with spinner button

    Thanks Olly, works like a champ.

  4. #4
    Forum Contributor
    Join Date
    03-05-2009
    Location
    usa
    MS-Off Ver
    Excel 2016 32Bit
    Posts
    1,173

    Re: Control font size with spinner button

    Just ran into a problem,should of been more clearer on workbook. What if I have two cells merged? Works perfect on a single cell,sometimes I have two cells merge,is there a work around for this?

  5. #5
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Control font size with spinner button

    Best advice for merged cells: never merge cells.

  6. #6
    Forum Contributor
    Join Date
    03-05-2009
    Location
    usa
    MS-Off Ver
    Excel 2016 32Bit
    Posts
    1,173

    Re: Control font size with spinner button

    Just got it working I changed
    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    03-05-2009
    Location
    usa
    MS-Off Ver
    Excel 2016 32Bit
    Posts
    1,173

    Re: Control font size with spinner button

    Ouch still not working,I must use merged cells.

  8. #8
    Forum Contributor
    Join Date
    03-05-2009
    Location
    usa
    MS-Off Ver
    Excel 2016 32Bit
    Posts
    1,173

    Re: Control font size with spinner button

    Getting Closer,but if I have a merge cell it will not read cell size. need a fix so if target cells count is greater then 1 it will work.I can change the 1 to 3 and it works sometimes but get a lot of errors.
    When I change to a 3 I get Invalid use of a null?

    Please Login or Register  to view this content.

  9. #9
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Control font size with spinner button

    As much as I agree with Oily's "Never merge cells", you might want to look at the .MergeArea property of a cell.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Control Font size with VBA
    By zplugger in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-25-2015, 09:20 AM
  2. Button changing size and font size
    By jennyc2 in forum Excel General
    Replies: 1
    Last Post: 05-13-2009, 07:53 PM
  3. Control Command Button Font Size Expands
    By timp in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-19-2006, 11:10 AM
  4. [SOLVED] BUG: Font Size / Control Size Changes
    By Mike Piston in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-19-2005, 12:05 PM
  5. [SOLVED] font size changes w/ control focus
    By mark kubicki in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 AM
  6. [SOLVED] font size changes w/ control focus
    By mark kubicki in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  7. [SOLVED] font size changes w/ control focus
    By mark kubicki in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-17-2005, 01:05 PM

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