+ Reply to Thread
Results 1 to 10 of 10

View 1st Record through User Form Automatically

  1. #1
    Forum Contributor
    Join Date
    03-31-2009
    Location
    Halstead
    MS-Off Ver
    Excel 365
    Posts
    240

    View 1st Record through User Form Automatically

    Hi All,

    I have a User Form in Excel which is now working absorlutely perfect, with some help from you guys on here, I have one last question, When I click first Record on the form it display the very first record with Text in the spreadsheet, Can anyone show me how to have the first Records Data show automatically in the form when the form is launched?

    Also I have set Record 3 as the first record becasue 1 & 2 have the headers in them, but when I click previous record it still shows them, can i get around this somehow.

    Thanks Guys.

    Shazz
    x
    Last edited by Shazz; 02-03-2012 at 11:26 AM. Reason: Solved

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: View 1st Record through User Form Automatically

    Need to see the code, but it's not a good idea to use two rows for the header
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Contributor
    Join Date
    03-31-2009
    Location
    Halstead
    MS-Off Ver
    Excel 365
    Posts
    240

    Re: View 1st Record through User Form Automatically

    Quote Originally Posted by royUK View Post
    Need to see the code, but it's not a good idea to use two rows for the header
    This is the complete code for the User Form.

    Please Login or Register  to view this content.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: View 1st Record through User Form Automatically

    Not sure but looking through the SelRow could be overwriting RowNumber.

  5. #5
    Forum Contributor
    Join Date
    03-31-2009
    Location
    Halstead
    MS-Off Ver
    Excel 365
    Posts
    240

    Re: View 1st Record through User Form Automatically

    That doesn't really help me, I am very new at all this and most of the code has been given by people off the forum.

    Could someon advise what I need to do.

    Thanks.

    Shazz
    x

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: View 1st Record through User Form Automatically

    So you've not learned what the code is doing?

    Instead of posting all that code it would have been more useful to attach the workbook.

  7. #7
    Forum Contributor
    Join Date
    03-31-2009
    Location
    Halstead
    MS-Off Ver
    Excel 365
    Posts
    240

    Re: View 1st Record through User Form Automatically

    Sorry about that, as I said I am very new to all this.

    The Workbook is attached for you to look at.
    Attached Files Attached Files

  8. #8
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: View 1st Record through User Form Automatically

    I have not looked at the workbook but I think you jsut change the Previosu button code to
    Please Login or Register  to view this content.
    and then Userform_Initialize to
    Please Login or Register  to view this content.
    Good luck.

  9. #9
    Forum Contributor
    Join Date
    03-31-2009
    Location
    Halstead
    MS-Off Ver
    Excel 365
    Posts
    240

    Re: View 1st Record through User Form Automatically

    That did the trick, thanks so much you are a star.

    I have added to your Reputation.

    Shazz

  10. #10
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: View 1st Record through User Form Automatically

    My pleasure, and thank you.

    Please do not forget to mark the thread Solved. (see FAQ)

+ 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