#1   Report Post  
 
Posts: n/a
Default No update of dates

I have a worksheet, which is a log of clients I see everyday and it
goes for 2 weeks at a time. How can I use one of the functions, ie:
today(), and have the worksheet pick up the correct date everyday, but
without updating the previous dates in that worksheet?

Thank you in advance.

Hernan.

  #2   Report Post  
bigwheel
 
Posts: n/a
Default

" wrote:

I have a worksheet, which is a log of clients I see everyday and it
goes for 2 weeks at a time. How can I use one of the functions, ie:
today(), and have the worksheet pick up the correct date everyday, but
without updating the previous dates in that worksheet?

Thank you in advance.

Hernan.

Try entering this as the code for a workbook page

Private Sub worksheet_activate()
Range("A65536").End(xlUp).Offset(1, 0).Select
ActiveCell = Date
End Sub

Each time the sheet is opened, the date is put into the next empty cell
  #3   Report Post  
 
Posts: n/a
Default

Thank you Bigwheel for replying. However, I don't understand where is
it that I have to enter this code.

Could you please explain it.

Thanks again.

Hernan

  #4   Report Post  
bigwheel
 
Posts: n/a
Default

" wrote:

Thank you Bigwheel for replying. However, I don't understand where is
it that I have to enter this code.

Could you please explain it.

Thanks again.

Hernan

OK. Click ToolsMacroVisual Basic Editor
When it opens, you should see in the left hand column, the name of your open
workbook. Double click the sheet name and paste the code into the empty
window that appears on the right. Then, each time you open that worksheet,
it should enter the date in the next empty cell in column A
  #5   Report Post  
 
Posts: n/a
Default

Hi Bigwheel,

I tried this but it didn't work.

I even formatted column A as DATE, and nothing.

Thank you for helping me anyway.

Hernan.



  #6   Report Post  
bigwheel
 
Posts: n/a
Default

see file sent to your hotmail address

  #7   Report Post  
Hernan
 
Posts: n/a
Default

Now is doing it! :-) Thanks.

Question... What do I have to add in order for the "cursor" to move to the
right once the date is placed?

Where can I read about all this stuff? :-)

Hernan

"bigwheel" wrote:

see file sent to your hotmail address

  #8   Report Post  
bigwheel
 
Posts: n/a
Default

"Hernan" wrote:

Now is doing it! :-) Thanks.

Question... What do I have to add in order for the "cursor" to move to the
right once the date is placed?


Activecell.Offset(0,1).Select

Where can I read about all this stuff? :-)


There are many Excel books available
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
Finding dates within a date range Marcus Excel Worksheet Functions 2 April 5th 05 02:03 AM
Plotting Dates GGoetz Excel Worksheet Functions 1 March 30th 05 10:08 AM
Dates that automatically update ... Artanis Excel Discussion (Misc queries) 3 March 10th 05 12:21 PM
Formating Dates for production schedule dpl7579 Excel Discussion (Misc queries) 1 January 11th 05 08:43 PM
due dates Niki New Users to Excel 4 January 10th 05 04:11 PM


All times are GMT +1. The time now is 03:46 PM.

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"