Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 02-29-2012, 11:39 AM
Catalin.B Catalin.B is offline LOST: Dont know where to start Windows Vista LOST: Dont know where to start Office 2010 32bit
Expert
 
Join Date: May 2011
Location: Iaşi, Romānia
Posts: 386
Catalin.B is on a distinguished road
Default

try to separate part 5 from the rest of the code; The "P" entered by a macro
is not a worksheet_change event, like typing it .
So , at the end of part 3 of your code before End Sub, call this macro, with:
Code:
Call Date
You might need to call this macro from Private Sub Worksheet_Change too
Code:

sub Date()
Dim cell As Range

 For Each cell In Target  
    If Not Intersect(cell, Range("H:Q")) Is Nothing Then
        If UCase(cell) = "P" Then
            Application.EnableEvents = False
            Range("T" & cell.Row) = Now
            Application.EnableEvents = True
        End If
    End If
Next cell
end sub
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
LOST: Dont know where to start Dont print header on first page jezh Word 1 02-01-2012 09:37 AM
LOST: Dont know where to start Dont Speak Spanish Dawneas Office 1 01-30-2011 10:39 PM
LOST: Dont know where to start I dont have Microsoft Office? JasonKoltai Office 1 09-26-2009 05:27 PM
LOST: Dont know where to start word shortcuts dont work glennc Word 4 08-10-2009 07:10 PM
Hyperlinks dont work iturnrocks Outlook 0 11-21-2006 10:19 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:27 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft