Consulting

Results 1 to 3 of 3

Thread: How to retrieve Value in Frame in user form

  1. #1

    How to retrieve Value in Frame in user form

    Hi friends,

    I need you help you know how to retrieve next value of Invoice No in frame box of a user form

    i have enclosed the excel file for better understanding..

    your help is highly appreciated

    Regards
    Yogeshwar
    Attached Files Attached Files

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    What Invoice? What in frame? There is nothing there.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Expert shrivallabha's Avatar
    Joined
    Jan 2010
    Location
    Mumbai
    Posts
    750
    Location
    You should consider inserting a label there and then set the label caption using userform initialize event like below (first inserted label will be label1):
    [VBA]Private Sub UserForm_Initialize()
    Label1.Caption = Sheet1.Range("K1").Value
    End Sub
    [/VBA]
    Regards,
    --------------------------------------------------------------------------------------------------------
    Shrivallabha
    --------------------------------------------------------------------------------------------------------
    Using Excel 2016 in Home / 2010 in Office
    --------------------------------------------------------------------------------------------------------

Posting Permissions

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