+ Reply to Thread
Results 1 to 6 of 6

Must fill cells to start.

  1. #1
    Registered User
    Join Date
    03-19-2015
    Location
    England
    MS-Off Ver
    365
    Posts
    24

    Must fill cells to start.

    Hi,

    i am wondering if anybody could advise me on the best method to ensure certain data is input prior to more information being inserted. my problem being is i can forsee reports coming in with missing information which will cause the job to be re-done at our expense. what i have been playing around with without success is as follows,

    cells K5,K6,O6,N7 and J7 all need to be filled prior to any data being input in B9 or better would be B9:B78.

    any help or guidance is greatly appreciated.

    Regards

    Lee

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,982

    Re: Must fill cells to start.

    One simple way is to use Data Validation with a custom rule that says

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    It will not allow you to enter data in the cell until the above condition is TRUE. You can apply the Data Validation to B9:B78.


    A more sophisticated way is to use VBA and user forms to lead the user through the process, so that there is not even a place to enter certain data until other data has been provided. This needs to be very specific to your data, though, and you haven't provided enough information to give a complete solution.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Expert
    Join Date
    08-28-2014
    Location
    Texas, USA
    MS-Off Ver
    2016
    Posts
    1,796

    Re: Must fill cells to start.

    Try this if looking for a pure VBA solution:

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    03-19-2015
    Location
    England
    MS-Off Ver
    365
    Posts
    24

    Re: Must fill cells to start.

    i have attached the sheet i have been working on for more information. i am a novice at excel formuals above the basics
    so this is around a weeks worth of learning and trial and error.

    would VBA be the best solution? The data in the cells K5,K6,O6,N7 and J7 are vital. Without
    the platform number, station name and direction the data in the table is meaningless.

    regards
    Attached Files Attached Files

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,982

    Re: Must fill cells to start.

    Although you have posted in the VBA forum, here is the data validation solution, which is easier to implement and seems to meet all your needs.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    03-19-2015
    Location
    England
    MS-Off Ver
    365
    Posts
    24

    Re: Must fill cells to start.

    Thanks for all the help. I was in 2 minds which forum to post. as i had tried data validation i opted to post in VBA forum.

+ 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 fill multiple cells in a raw based on a start and end values
    By atchorizon in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-20-2015, 01:08 AM
  2. Replies: 5
    Last Post: 12-17-2013, 12:00 PM
  3. [SOLVED] Auto Fill Blank Cells - Using Differing "Start" Numbers
    By HowD in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-23-2013, 01:05 PM
  4. Auto-fill adjacent cells based on start/stop date?
    By jeffreyray in forum Excel General
    Replies: 3
    Last Post: 10-03-2011, 06:49 PM
  5. Replies: 2
    Last Post: 05-16-2006, 07:33 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