Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 363
Default 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?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default 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
Reply
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
divide column(x) by column(y) to give column(x/y) in excel? James New Users to Excel 2 April 24th 23 11:46 AM
Referencing date column A & time column B to get info from column TVGuy29 Excel Discussion (Misc queries) 1 January 24th 08 09:50 PM
Based on a condition in one column, search for a year in another column, and display data from another column in the same row look [email protected] Excel Programming 2 December 30th 06 06:23 PM
Based on a condition in one column, search for a year in another column, and display data from another column in the same row look [email protected] Excel Discussion (Misc queries) 1 December 27th 06 05:47 PM
How can i have all alike product codes in column A be matched with like cities in column B and then add the totals that are in column C [email protected] Excel Programming 4 August 2nd 06 01:10 AM


All times are GMT +1. The time now is 12:11 PM.

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

About Us

"It's about Microsoft Excel"