Wikiposts
Search

Notices
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

Excel Question

Thread Tools
 
Search this Thread
 
Old 30th January 2003 | 18:06
  #1 (permalink)  
Thread Starter
50 Countries Visited
25 Anniversary
 
Joined: Mar 1999
Aviation Qualifications: AME
Posts: 196
Likes: 0
From: Zurich
Cool Excel Question

Hello Chaps,

I'm running Excel95 and want to know if I can insert todays date into a spreadsheet without typing it in. Ie. using something like the lastUpdated thingy???

Thanks

LP
Le Pen is offline  
Old 30th January 2003 | 20:10
  #2 (permalink)  
 
Joined: May 2002
Posts: 106
Likes: 0
From: Bracknell
=now() would seem to provide an answer, nothing needed in the brackets.
rickity is offline  
Old 31st January 2003 | 11:14
  #3 (permalink)  
Thread Starter
50 Countries Visited
25 Anniversary
 
Joined: Mar 1999
Aviation Qualifications: AME
Posts: 196
Likes: 0
From: Zurich
Thumbs up

Thaks
Spot on

LP
Le Pen is offline  
Old 31st January 2003 | 11:17
  #4 (permalink)  
25 Anniversary
 
Joined: Dec 1998
Posts: 3,038
Likes: 52
From: .
Cool

or you can also put =today() which will be slightly different in that the time will be 00:00 rather than the time now!
spannersatcx is offline  
Old 31st January 2003 | 16:21
  #5 (permalink)  
25 Anniversary
 
Joined: Dec 1998
Posts: 4,282
Likes: 6
From: Escapee from Ultima Thule
That should work in a template? If so, is it possible to have it freeze the date once the file is saved as a .XLS?
Tinstaafl is offline  
Old 1st February 2003 | 06:01
  #6 (permalink)  
Agent86
Guest
 
Posts: n/a
Smile

If you just want to enter the date and NOT have it update everytime you open the workbook (as it will if you use +Now() )

just type Control + semicolon ie
hold control key done and press the ; key

If you want the time just hold control and shift and press the same key ie control + colon

Search the excel help for keyboard shortcuts for more

MAx
 
Old 1st February 2003 | 18:47
  #7 (permalink)  
Thread Starter
50 Countries Visited
25 Anniversary
 
Joined: Mar 1999
Aviation Qualifications: AME
Posts: 196
Likes: 0
From: Zurich
Cool

This is all brilliant.......


BUT

I want to put the date in by using a Button/Macro....
So, I can do that with either =now() or =today() but I dont want it to update every day. just keep the day it was first entered.


Control ; works well but can I do that as a macro?


Thanks

LP
Le Pen is offline  
Old 1st February 2003 | 23:13
  #8 (permalink)  
Agent86
Guest
 
Posts: n/a
Ahhh, I see what you want.

All you need to do is make a macro and enter this line

ActiveCell.Value = Format(Now(), "dd/mm/yyyy")

Change the format to what you want or format the particular cell.

If you want the date to go into a specific cell and not the active cell use this

Cells(x, y).Value = Format(Now(), "dd/mm/yyyy")

where x is the row number and y is the column number. You can't use the column letter in this function

Use the forms toolbar to add a button and create/link the associated macro.

MAx
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.