Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need some help with the following code that will select the cell in column
B that contains todays date, there are no duplicate dates. If todays date is 13 Jul 09, after performing the code below, the cell with todays date is selected and visable on the screeen. Found some code that should have worked, but not smart enough to integrate them. A=Locked or Not Locked or "" or 30 B=Date C=TEXT(B_,"ddd") D, E, F, H, I =numbers H=% Sub LockedNotLocked() ActiveSheet.Unprotect Dim rng As Range For Each rng In Range("A35:A494") If rng.Value = "Not Locked" Then Range("B" & rng.Row & ":I" & rng.Row).Value = Range("B" & rng.Row & ":I" & rng.Row).Value End If Next rng ActiveSheet.Protect End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to goto specific cell (todays date) | Excel Discussion (Misc queries) | |||
macro to: Add new sheet, then rename new sheet with todays date | Excel Worksheet Functions | |||
how can I return todays date (today() ) in an if function | Excel Worksheet Functions | |||
Using macro to save as todays date | Excel Programming | |||
What syntax do I use to add todays date in an excel macro | Excel Programming |