+ Reply to Thread
Results 1 to 4 of 4

Row Entries

  1. #1
    Registered User
    Join Date
    06-04-2014
    Posts
    24

    Question Row Entries

    I am looking for vba code that will do two things, and I am certain it's not that difficult however, I do require some assistance.

    I would like to control the direction of the data entry on an Excel sheet to move from left to right in a row to a certain column then, proceed to the next row with a twist.

    I need to make certain that certain fields per row require input and if nothing is inputted in the cell to the left, (that is moving left to right) that, an alert would flag the user that, the previous cell cannot be left blank.

    Not all cells in the row are required just certain cells, some cells maybe grouped together while, other cell inputs are not required, example.

    Date - Item # - Primary Contact - Secondary Contact - Street Address

    In this case, the Item # is mandatory which, fills the date field in automatically once entered next, the Primary Contact is required following the Secondary Contact will not always be required, and then the Street Address would be required.

    Any help would be greatly appreciated.

  2. #2
    Valued Forum Contributor Sean Thomas's Avatar
    Join Date
    03-25-2012
    Location
    HerneBay, Kent, UK
    MS-Off Ver
    Excel 2007,2016
    Posts
    971

    Re: Row Entries

    why don't you create a userform.
    this does a number of things.
    you can prevent users free typing anything in.
    data validation can be used before entering the data onto the sheet
    dates will always be in the same format.
    Regards
    Sean

    Please add to my reputation if you think i helped
    (click on the star below the post)
    Mark threads as "Solved" if you have your answer
    (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code:
    [code] Your code here [code]
    Please supply a workbook containing example Data:
    It makes its easier to answer your problem & saves time!

  3. #3
    Valued Forum Contributor Sean Thomas's Avatar
    Join Date
    03-25-2012
    Location
    HerneBay, Kent, UK
    MS-Off Ver
    Excel 2007,2016
    Posts
    971

    Re: Row Entries

    Hi
    try this for example
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    06-04-2014
    Posts
    24

    Re: Row Entries

    Thanks for the suggestion Sean however, I am getting a runtime error stating "objects unavailable on this machine" it's still early though, and I was up late...

    I was probably looking for a simple row statement something that stated: Here's what I have been working with so far:

    Please Login or Register  to view this content.
    Which is obviously auto filling the date in column one after inputting some text in column B... what I needed was the statement to not allow any input in column "C" unless input in Column "B" was accomplished, and so on. In addition, I need column "A" to simply increment by "1" to indicate the item reference number.

    So, I have this much working and have attempted to add a statement:
    Please Login or Register  to view this content.
    To increment the reference number in Column "A" however, it simply returns the number "1" in every row in that column...

    I think if I could get some help making the original code to disallow any further information from being added in the row, unless the information in column "C" has been added then, I am on my way

+ 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] Move Non-Zero row entries up to occupy Zero row entries. Rows deletion not allowed
    By chancw in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 12-08-2013, 03:57 AM
  2. Replies: 1
    Last Post: 02-01-2013, 03:38 PM
  3. [SOLVED] Read entries-locate entries and print entries
    By akotronis in forum Excel General
    Replies: 4
    Last Post: 05-01-2012, 03:05 PM
  4. Removing repeat entries in a long column of data entries
    By kaizhong1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-15-2010, 01:31 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