+ Reply to Thread
Results 1 to 4 of 4

Macro to format worksheet with specific font and pop-up dialog for font size

  1. #1
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    604

    Macro to format worksheet with specific font and pop-up dialog for font size

    Macro will ask in a pop-up dialogue box "What size of font?". I will enter 12, then the whole worksheet will be formatted in ARIAL 12 font.

    I always want the type of font to be arial... so there is no need to ask for the type, just the size. Thx
    Last edited by Xx7; 06-30-2011 at 04:28 PM.

  2. #2
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Macro to format worksheet with specific font and pop-up dialog for font size

    Hi Xx7, I think this will do it for you
    Please Login or Register  to view this content.
    Last edited by Mordred; 06-30-2011 at 04:15 PM.
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

  3. #3
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    604

    Re: Macro to format worksheet with specific font and pop-up dialog for font size

    Nice... thanks! my final code below:

    Please Login or Register  to view this content.

  4. #4
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Macro to format worksheet with specific font and pop-up dialog for font size

    I would further modify this to remove as much .Selects as possible
    Please Login or Register  to view this content.

+ 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