+ Reply to Thread
Results 1 to 9 of 9

Staic Date Stamp for adjacent cell being equal to "Dormant"

  1. #1
    Forum Contributor
    Join Date
    03-02-2010
    Location
    Northumberland, England
    MS-Off Ver
    Excel 2016
    Posts
    143

    Staic Date Stamp for adjacent cell being equal to "Dormant"

    Hi, Ive searched this forum for hours trying to find an answer but couldnt find an exact answer.

    I have a range of cells I4:I3116. When the word "Dormant" is selected from the dropdown in this range I would like a static date stamp entered into the same row of the range K4:K3116.

    I have this code but cant manipulate it to work.. Thanks.
    Please Login or Register  to view this content.
    Brian

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Staic Date Stamp for adjacent cell being equal to "Dormant"

    Please Login or Register  to view this content.
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Forum Contributor
    Join Date
    03-02-2010
    Location
    Northumberland, England
    MS-Off Ver
    Excel 2016
    Posts
    143

    Re: Staic Date Stamp for adjacent cell being equal to "Dormant"

    Thanks,

    Where would that fit into the code?

  4. #4
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Staic Date Stamp for adjacent cell being equal to "Dormant"

    in place of this

    With Target(9, 10)
    .Value = Date
    End With

  5. #5
    Forum Contributor
    Join Date
    03-02-2010
    Location
    Northumberland, England
    MS-Off Ver
    Excel 2016
    Posts
    143

    Re: Staic Date Stamp for adjacent cell being equal to "Dormant"

    Thaks ok Ive changed it but nothing happens.

    Ive more than one Private sub within this worksheet and initially whenI ran this one it said "Compile Error" Ambiguous Name Detected. Worksheet_Change.

    I changed it to Worksheet_Date but dont know if this is valid. Do you have any ideas.

    Here is the other Private Sub within the sheet
    Please Login or Register  to view this content.
    Thanks for your help.

  6. #6
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Staic Date Stamp for adjacent cell being equal to "Dormant"

    Its exactly what it says, there are 2 worksheet_change, these should exist in the worksheets not in a module.

  7. #7
    Forum Contributor
    Join Date
    03-02-2010
    Location
    Northumberland, England
    MS-Off Ver
    Excel 2016
    Posts
    143

    Re: Staic Date Stamp for adjacent cell being equal to "Dormant"

    Sorry you will have to bear with me.. I have them in the sheet code..
    Please Login or Register  to view this content.
    When I change my dropdown to Dormant I get he compile error message. and it highlights this piece of the code I want to use to Date Stamp.
    Please Login or Register  to view this content.
    I hope that makes sense.

  8. #8
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Staic Date Stamp for adjacent cell being equal to "Dormant"

    Yes, its cause you've 2 worksheet_change subs.

  9. #9
    Forum Contributor
    Join Date
    03-02-2010
    Location
    Northumberland, England
    MS-Off Ver
    Excel 2016
    Posts
    143

    Re: Staic Date Stamp for adjacent cell being equal to "Dormant"

    How do I get it to work then.. Is it possible to merge them into one?
    Last edited by singerbatfink; 09-09-2014 at 10:11 AM.

+ 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] Delete Rows if a cell does not equal "Finished" or "Complete"
    By Justair07 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 09-27-2013, 12:40 PM
  2. [SOLVED] Cell Formula to count time with "Greater Than or Equal to" and "Less Than"
    By chriswhite1982 in forum Excel General
    Replies: 3
    Last Post: 06-16-2013, 12:30 AM
  3. Date stamp for "last saved" on individual worksheets/tabs?
    By Freckles25nw in forum Excel General
    Replies: 2
    Last Post: 09-14-2009, 05:36 AM
  4. [SOLVED] Cell colour chg when formula results equal a weekend day, i.e., "Saturday" and a date that falls on a Saturday?
    By StargateFanFromWork in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-19-2005, 08:15 AM
  5. [SOLVED] How do I put a "date & time saved" stamp inside an Excel Wksht?
    By Bill in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-12-2005, 12:06 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