LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 363
Default Re : Date to be placed into Column "C" with matching value in Column "B" in same row

If CheckBox1 = False And CheckBox2 = False And CheckBox3 = False And
CheckBox4 = False And CheckBox5 = False Then GoTo Here
Sheet1.Unprotect
Dim rngFound As Range
On Error Resume Next
With Worksheets("Main").Range("B17:B28")
Set rngFound = .Find(What:=Sheet5.Range("B1").Value, After:=.Range("B16"),
LookIn:=xlValues, LookAt:=xlPart, SearchOrder:=xlByRows,
SearchDirection:=xlNext, MatchCase:=True, matchbyte:=False)
If Sheet5.Range("B1").Value = rngFound.Value Then
rngFound.Offset(0, 1).Activate
rngFound.Offset(0, 1).Value = Format(Now, "mmmm yy")
MsgBox "The selected Report pages have been sent to the printer",
vbInformation, " ...."
Sheet1.Protect
With ActiveSheet
Range("A1").Select
End With

Came up with this, but i get nothing placed in sheet1, why ?

Sheet5 Range(B1) has a value of "January 07" and
sheet1 has a value of "January 07" yet C17 does NOT get a value placed in
it????

Corey....


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
How do I change the column heading in Excel to display "A" "B" "C Thai New Users to Excel 1 November 30th 07 08:06 PM
Date to be placed into Column "C" with matching value in Column "B" in same row Corey Excel Programming 0 January 17th 07 11:07 AM
Please add a "sheet" function like "row" and "column" functions Spreadsheet Monkey Excel Programming 2 November 8th 05 04:08 PM
How do I split "A1B2" into "A1" and "B2" using text to column fun. Jennifer Excel Programming 1 February 2nd 05 10:01 PM


All times are GMT +1. The time now is 07:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"