+ Reply to Thread
Results 1 to 5 of 5

Excel VB User forms

  1. #1
    Registered User
    Join Date
    02-06-2016
    Location
    Cheshire, England
    MS-Off Ver
    2003
    Posts
    9

    Excel VB User forms

    Hi All

    I'm very new to using VB.

    I'm using Excel to provide client reports based on information input into spreadsheet.

    I have automated the print out of the many different reports using macros and limited vb commands.

    What I'm trying to do is create a user form to act as a validation sheet which the user will check that the output data is correct before printing the many reports.

    I have been ok with creating message boxes with the data pulled from the cells within the spreadsheet but want to format it and present it better.

    I have been advised to use a userform which the user clicks to confirm the the data is correct.

    I have been able to create a basic user form and believe that you use a textbox. Where I'm stuck is how to pull the data from a cell in the spread sheet e.g. Sheet 1 cell C5 into the textbox on the user
    the user form.

    Many thanks

    Jon

  2. #2
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Excel VB User forms

    Hi reevsey23!
    Welcome to the forum..

    Try something like this..

    Please Login or Register  to view this content.
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  3. #3
    Registered User
    Join Date
    02-06-2016
    Location
    Cheshire, England
    MS-Off Ver
    2003
    Posts
    9

    Re: Excel VB User forms

    Hi Many thanks for your prompt reply.

    Still struggling.

    Ive created a user form and inserted a textbox1.

    How/where do I copy the code you have provided which will allow the data from sheet 1 C5 to show in the textbox1 within the userform. I also don't want the user to be able to change the text in the field.

    I have tried viewing the code relating to the texbox and changing it to your code - but no success.

  4. #4
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Excel VB User forms

    OK..
    check this one..

    EF1125627.xlsm

  5. #5
    Registered User
    Join Date
    02-06-2016
    Location
    Cheshire, England
    MS-Off Ver
    2003
    Posts
    9

    Re: Excel VB User forms

    This has done it!

    Once I've got the form populated with a few more fields. I will be looking at a yes/no radio button a the end of the form to confirm that the data has been checked that will allow printing.

    Thanks again.

    Jon

+ 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. Excel With User Forms
    By zackefron in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-05-2016, 04:43 AM
  2. Excel User Forms
    By sglxl in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-26-2014, 10:27 AM
  3. Excel User forms
    By sujithy007 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-02-2013, 05:19 AM
  4. Can I do user forms in excel 2008?
    By KS555 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-19-2011, 09:31 PM
  5. User Forms - getting them to talk to Excel
    By Amber_D_Laws in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-01-2006, 01:17 PM
  6. User Forms and Excel Functions
    By sottsee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-14-2005, 07:05 PM
  7. User forms in Excel
    By Eric in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-11-2005, 03:06 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