Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Jeff,
If A2 is a date: Range("C5").Value = "From January 2005 to " & Format(Range("A2").Value, "mmmm yyyy") If A2 is a string: Range("C5").Value = "From January 2005 to " & Range("A2").Value HTH, Bernie MS Excel MVP "Jeff" wrote in message ... Hello, I need help designing a VBA macro that would the following: I have in row C5 "From January 2005 to xxxx" I'd like to replace or update xxxx by the current month, which I have in cell A2. Thanks, |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Update Links - Problem | Links and Linking in Excel | |||
Update linked cells within a workbook??? | Links and Linking in Excel | |||
Automatic Chart Update? | Charts and Charting in Excel | |||
Timestamp cell to left after update | Excel Discussion (Misc queries) | |||
Pivot Table - Group by Month - Show Items with no data | Excel Discussion (Misc queries) |