+ Reply to Thread
Results 1 to 3 of 3

User Form with Empty row but user may enter data manually

  1. #1
    Registered User
    Join Date
    12-04-2015
    Location
    Wisconsin
    MS-Off Ver
    2013
    Posts
    19

    User Form with Empty row but user may enter data manually

    I am very new to VBA and am trying to put together a user form (Learned to make one this week). The worksheet that it is populating I don't want to be overwritten when the user has manually entered something. They are scanning a huge barcode that I break apart to use, to populate other cells as well as Vlookup to get additional items. I enter the data from the userform in the first three columns, which I hide to the user, and an additional six are hidden. The first column the user sees is Column "I" which is where they may enter information that I want the user form to see and skip. The cells in column "I" also contain a formula to return a value from one of the hidden columns. There are time they will need to manually enter, and this is sporadically throughout the day.

    This is what I have

    '
    Please Login or Register  to view this content.
    Last edited by Fotis1991; 12-07-2015 at 11:37 AM. Reason: Pls be sure that you add code tags to your codes when you post these. Thank you!

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: User Form with Empty row but user may enter data manually

    Quote Originally Posted by Nole68 View Post
    The first column the user sees is Column "I" which is where they may enter information that I want the user form to see and skip. The cells in column "I" also contain a formula to return a value from one of the hidden columns. There are time they will need to manually enter, and this is sporadically throughout the day.

    I understood up until this point (above). Then you lost me. I'm not sure what the question is?
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    12-04-2015
    Location
    Wisconsin
    MS-Off Ver
    2013
    Posts
    19

    Re: User Form with Empty row but user may enter data manually

    The user form will feed columns that are hidden. The User won't always use the user form so I need it to look for a value. Unfortunely the manual entry will occur in Column "I" so the empty row doesn't see the manual user entry in column "A" because it occurs in column "I". I did make a change and moved the hidden columns to the end. Now a new problem, I have a formula in the cells in Column "A" =right(R17,6), to bring in a value from the user form, if used. I think this formula is causing the Empty row to see it populated so it skips it. Can there be a macro that returns a value from another cell if it exists, otherwise leave it blank?

+ 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. How to prevent user to enter serial number in column B manually
    By mso3 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-27-2015, 09:50 AM
  2. Find the first empty row for User Data Entry form
    By Goodstart14 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-01-2014, 06:59 PM
  3. Replies: 3
    Last Post: 02-14-2014, 12:23 PM
  4. User form to post data and charts according to user defined selections
    By siroco79 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-12-2013, 11:16 AM
  5. Enter data in locked cell from user form
    By ajitexcel in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-18-2012, 10:21 AM
  6. [SOLVED] User forms - choosing location of your data to be shown in your user form
    By jasonbwt in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-29-2012, 08:48 AM
  7. How To Enter A Value To A Cell With A User Form??
    By twofootgiant in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-08-2008, 11:20 AM

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