+ Reply to Thread
Results 1 to 2 of 2

label does not show???

Hybrid View

  1. #1
    mark kubicki
    Guest

    label does not show???

    CalculationStatus is a userform
    userform is modeless
    CalculationStatus has a lable control named Label1
    label1 is visible

    BUT label1 does not show???

    if i do a similar thing only updateing the caption text on the user form...
    eveything is o.k. ...except this is graphically not what i want...

    -------------------------------------------------------------------------
    With CalculationStatus
    .Show
    .Label1.Caption = "calculating"
    Application.Run CountRows()

    .Label1.Caption = "determining number of row of data on this worksheet"
    Application.Run CountDataRows()

    .Label1.Caption = "clearing schedule of all data"
    Application.Run ClearSchedule()

    End With
    CalculationStatus.Hide



  2. #2
    Tom Ogilvy
    Guest

    Re: label does not show???

    With CalculationStatus
    .Show
    .Label1.Caption = "calculating"
    .Repaint
    DoEvents
    Application.Run CountRows()

    .Label1.Caption = "determining number of row of data on this worksheet"
    .Repaint
    DoEvents
    Application.Run CountDataRows()

    .Label1.Caption = "clearing schedule of all data"
    .Repaint
    DoEvents
    Application.Run ClearSchedule()

    End With
    CalculationStatus.Hide

    --
    Regards,
    Tom Ogilvy

    "mark kubicki" <MK@KuglerTillotson.com> wrote in message
    news:eu11SlDRFHA.1348@TK2MSFTNGP15.phx.gbl...
    > CalculationStatus is a userform
    > userform is modeless
    > CalculationStatus has a lable control named Label1
    > label1 is visible
    >
    > BUT label1 does not show???
    >
    > if i do a similar thing only updateing the caption text on the user

    form...
    > eveything is o.k. ...except this is graphically not what i want...
    >
    > -------------------------------------------------------------------------
    > With CalculationStatus
    > .Show
    > .Label1.Caption = "calculating"
    > Application.Run CountRows()
    >
    > .Label1.Caption = "determining number of row of data on this

    worksheet"
    > Application.Run CountDataRows()
    >
    > .Label1.Caption = "clearing schedule of all data"
    > Application.Run ClearSchedule()
    >
    > End With
    > CalculationStatus.Hide
    >
    >




+ 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