+ Reply to Thread
Results 1 to 5 of 5

Self student Project - Validation in Excel with Macros

  1. #1
    Registered User
    Join Date
    11-25-2009
    Location
    California, USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Self student Project - Validation in Excel with Macros

    Hi,

    I need a detailed guidance for the self project that I do. I am planning to do it with Excel Macros.

    Scenario:
    Option 1. The users have a application interface where they can key in the data.
    Option 2. They can key-in the same details through the excel sheet that I provide as well.

    Ex: There are 10 columns and 10 rows in a sheet. I want to validate every column/cell to hold just the format of data that I want.

    Assume: Row 1 should always be the header. Details enetered in column A should be a item code(say 1001), column B should only have decimals with no fraction.
    Thus the complete (10 X 10) should be validated and the users should not be able to enter anything apart from what format was assigned for that cell. Otherwise it should throw the error and user should make the correction at that moment itself.

    When entering the data via the application interface I want all that happens completes it validation at Excel itself and the error should not come outside.(Application Interface Error should not come)

    Is it with Macros that I should proceed with or any other option is there?


    Thanks for reading with patience. And even the smallest bit of advice/guidance could help me. Has anyone else did similar projects? Please share and guide me.


    Thanks,
    Sarvi

  2. #2
    Forum Contributor
    Join Date
    04-23-2009
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2003 work, 2007 home
    Posts
    199

    Re: Self student Project - Validation in Excel with Macros

    see the below link for info on data validation....should be half the battle, let us know if you are still having problems

    http://www.contextures.com/xlDataVal01.html

  3. #3
    Registered User
    Join Date
    11-25-2009
    Location
    California, USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Self student Project - Validation in Excel with Macros

    thx. dont think i am bumping it up. but a help/explanation on my scenario is highly needed. thanks in advance.

  4. #4
    Registered User
    Join Date
    11-25-2009
    Location
    California, USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Unhappy Re: Self student Project - Validation in Excel with Macros

    Anyone pls help me on this...

  5. #5
    Forum Contributor
    Join Date
    01-09-2009
    Location
    Cedar Hill, Tx
    MS-Off Ver
    Excel 2003
    Posts
    200

    Re: Self student Project - Validation in Excel with Macros

    What's being said is to use the native Excel validation routines whenever possible. If you're limiting the imput to only certain entries, maybe all of the appropriate entries can be put into one list and then the selection validated against it. Not only does it ensure that the entries are correct, but it's usually easier for the client to select than to type. So, you should read up on how to validate the data - that's what the URL mentioned above will do. First of all, use what Excel gives you and a macro only when you can't do it any other way.

    HTH.

    Bob

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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