+ Reply to Thread
Results 1 to 1 of 1

Merging code - Validation and Formatting

  1. #1
    Forum Contributor
    Join Date
    09-21-2007
    Posts
    126

    Merging code - Validation and Formatting

    I have Some Formatting that puts a ":" between 0000 to make a time 00:00

    Please Login or Register  to view this content.
    The above is the code.

    I also want to apply some validation to the same range. However, the validation depends upon the Formatting. So I want the formatting to run first I have tried putting the validation in the code before the formatting but to no avail.

    here is the validation and the formatting

    Please Login or Register  to view this content.
    The above validation wont work but the formatting does.

    Alternatively,


    I have just found that the validation wont work unless the information is manually entered into the cell, the result of a calculation slips by undetected. Is there anyway i can chage this.

    Thanks in advance

    Just found this out on the internet somewhere

    "Note that Validation works only on direct user input. It does not work with data that is pasted in to a range, values that are the result of calculations, or cell modification by Visual Basic code."

    Simon Green
    Last edited by Sirishgreen; 11-21-2007 at 07:14 AM.

+ 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