+ Reply to Thread
Results 1 to 9 of 9

Worksheet to Userform

  1. #1
    Registered User
    Join Date
    06-05-2014
    Posts
    28

    Worksheet to Userform

    I have a Userform with textboxes, commandboxes, etc and when I click submit, the data is entered into a worksheet in the next available row. what i would like is a spinbutton on my userform that will bring the data from the worksheet back onto the userform. for example, if I click spinbutton to 5, the data from row 5 on the worksheet will repopulate on the userform. let me know if this is possible and thanks for the tips.

  2. #2
    Registered User
    Join Date
    06-05-2014
    Posts
    28

    Re: Worksheet to Userform

    attached is the actual file if that helps
    Attached Files Attached Files

  3. #3
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Worksheet to Userform

    All you need to do is reverse this code and replace NextRow with the value from the spinner.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  4. #4
    Registered User
    Join Date
    06-05-2014
    Posts
    28

    Re: Worksheet to Userform

    hey, thanks for the reply.

    somewhat new to this, so not sure what you mean by reversing the code.

  5. #5
    Registered User
    Join Date
    06-05-2014
    Posts
    28

    Re: Worksheet to Userform

    and i should have been more clear in my first post. i would like a text box with the row value that the spin button controls

  6. #6
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Worksheet to Userform

    Like this.
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    06-05-2014
    Posts
    28

    Re: Worksheet to Userform

    ok, didn't work but i'll try again later. thanks

  8. #8
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Worksheet to Userform

    How did it not work?

  9. #9
    Registered User
    Join Date
    06-05-2014
    Posts
    28

    Re: Worksheet to Userform

    i suppose i'm just not clear where to enter this code. do i enter it in the spinbutton or text box? also, is there additional code that needs to be entered? you'r speaking to a novice so need more help

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] From Userform to Worksheet
    By esaban in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-21-2014, 04:33 PM
  2. Activation of Userform Hide Worksheet and Closing Userform Activates Worksheet
    By Newmord in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-14-2014, 11:18 AM
  3. Userform linking with active worksheet not maintaining link with correct worksheet
    By millerj64 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-29-2012, 09:47 AM
  4. [SOLVED] Copy Data loaded via Userform to a worksheet named in 1 field of the Userform
    By audax48 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-15-2012, 01:44 PM
  5. userform only not worksheet
    By cedtech23 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-20-2006, 06:15 PM

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