ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Now() to be placed in Next Column ? (https://www.excelbanter.com/excel-programming/381236-now-placed-next-column.html)

Corey

Now() to be placed in Next Column ?
 
I have a list of Dates in a mmmm yy format in sheet1.Range("B17:B28")

When i run a macro in another sheet, i want the Currrent (mmmm yy) to be
placed in the corresponding row in Column C.
I have the Current (mmmm yy) in sheet5.Range("B1") where i run the macro
from.
So i want some thing like:

If sheet1.Range.Cells("B17:B28").Value = Sheet.Range("B1").value then
Now() (mmmm yy) to be placed next to the month year column with that same
date.

How can i do this?
I am sure it is simple, but evades me to date?



Dave Peterson

Now() to be placed in Next Column ?
 
I don't quite understand, but if you're looking to put the current date in a
cell when another cell changes, you may want to look at how JE McGimpsey
approached it.

http://www.mcgimpsey.com/excel/timestamp.html

Corey wrote:

I have a list of Dates in a mmmm yy format in sheet1.Range("B17:B28")

When i run a macro in another sheet, i want the Currrent (mmmm yy) to be
placed in the corresponding row in Column C.
I have the Current (mmmm yy) in sheet5.Range("B1") where i run the macro
from.
So i want some thing like:

If sheet1.Range.Cells("B17:B28").Value = Sheet.Range("B1").value then
Now() (mmmm yy) to be placed next to the month year column with that same
date.

How can i do this?
I am sure it is simple, but evades me to date?


--

Dave Peterson


All times are GMT +1. The time now is 05:51 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com