+ Reply to Thread
Results 1 to 4 of 4

New thread for font size & bold

  1. #1
    Forum Contributor
    Join Date
    05-09-2005
    Location
    SC
    Posts
    196

    New thread for font size & bold

    Hello All!

    I have a code that I modified from a web site that pops up a please wait message while excel is calculating cells. The macro works fine, but I can't figure out how to bold & change the font size (to say 16).

    Code:

    Sub Update_Values()
    ShowPleaseWait
    Calculate
    KillPleaseWait
    End Sub

    Sub ShowPleaseWait()
    With Sheet1
    KillPleaseWait
    'call delete routine
    .Shapes.AddShape(msoShapeRectangle, 310, 70, 100, 50).Name = "Wait"
    With .Shapes("Wait")
    .TextFrame.Characters.Text = "Please Wait, Updating Values...."
    .Fill.ForeColor.SchemeColor = 53
    End With
    ActiveCell.Activate
    End With
    End Sub

    Sub KillPleaseWait()
    On Error Resume Next
    Sheet1.Shapes("Wait").Delete
    End Sub
    Thanks for any help with this.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Thanks for following the rules.

    Try

    Please Login or Register  to view this content.
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Emoe, as explained in the Forum Rules, Code Tags are like this:

    [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE]

  4. #4
    Forum Contributor
    Join Date
    05-09-2005
    Location
    SC
    Posts
    196
    Thanks VBA Noob, that worked out perfectly !

    Moderator shg, I found the code list. Thanks for keeping me straight !

    Best Regards,
    EMoe

+ 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