#1   Report Post  
Kanaski79
 
Posts: n/a
Default =today()

Ok I have another question.

With the =today() function is there a way to automaticaly make the date a
value so It will not change again, say once you mail the file, or when you
post it to web folder or something?

Thanks guys.

Kevin
  #2   Report Post  
Ron de Bruin
 
Posts: n/a
Default

Hi

You must use code to do this or enter the date with a short cut

Ctrl ;

Or with code

Sub test()
ActiveCell.Value = Format(Date, "dd-mmm-yyyy")
End Sub


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Kanaski79" wrote in message ...
Ok I have another question.

With the =today() function is there a way to automaticaly make the date a
value so It will not change again, say once you mail the file, or when you
post it to web folder or something?

Thanks guys.

Kevin



  #3   Report Post  
Kanaski79
 
Posts: n/a
Default

As I am rather new to excell how would I use the code to do this automaticaly
when the file is mailed or saved to a specific location?

Kevin

"Ron de Bruin" wrote:

Hi

You must use code to do this or enter the date with a short cut

Ctrl ;

Or with code

Sub test()
ActiveCell.Value = Format(Date, "dd-mmm-yyyy")
End Sub


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Kanaski79" wrote in message ...
Ok I have another question.

With the =today() function is there a way to automaticaly make the date a
value so It will not change again, say once you mail the file, or when you
post it to web folder or something?

Thanks guys.

Kevin




  #4   Report Post  
Kanaski79
 
Posts: n/a
Default

More specificaly only when I mail it.

Kevin

"Ron de Bruin" wrote:

Hi

You must use code to do this or enter the date with a short cut

Ctrl ;

Or with code

Sub test()
ActiveCell.Value = Format(Date, "dd-mmm-yyyy")
End Sub


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Kanaski79" wrote in message ...
Ok I have another question.

With the =today() function is there a way to automaticaly make the date a
value so It will not change again, say once you mail the file, or when you
post it to web folder or something?

Thanks guys.

Kevin




  #5   Report Post  
Ron de Bruin
 
Posts: n/a
Default

How do you mail it
FileSend To or with a macro

--
Regards Ron de Bruin
http://www.rondebruin.nl


"Kanaski79" wrote in message ...
More specificaly only when I mail it.

Kevin

"Ron de Bruin" wrote:

Hi

You must use code to do this or enter the date with a short cut

Ctrl ;

Or with code

Sub test()
ActiveCell.Value = Format(Date, "dd-mmm-yyyy")
End Sub


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Kanaski79" wrote in message ...
Ok I have another question.

With the =today() function is there a way to automaticaly make the date a
value so It will not change again, say once you mail the file, or when you
post it to web folder or something?

Thanks guys.

Kevin








  #6   Report Post  
Kanaski79
 
Posts: n/a
Default

I attace it to a mailing in outlook. my documents folder open and the mail
and just drag and drop.

Kevin

"Ron de Bruin" wrote:

How do you mail it
FileSend To or with a macro

--
Regards Ron de Bruin
http://www.rondebruin.nl


"Kanaski79" wrote in message ...
More specificaly only when I mail it.

Kevin

"Ron de Bruin" wrote:

Hi

You must use code to do this or enter the date with a short cut

Ctrl ;

Or with code

Sub test()
ActiveCell.Value = Format(Date, "dd-mmm-yyyy")
End Sub


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Kanaski79" wrote in message ...
Ok I have another question.

With the =today() function is there a way to automaticaly make the date a
value so It will not change again, say once you mail the file, or when you
post it to web folder or something?

Thanks guys.

Kevin






  #7   Report Post  
Ron de Bruin
 
Posts: n/a
Default

Then it is not possible.

You can use code to automatic insert the last saved date into the file.

Is that a option



--
Regards Ron de Bruin
http://www.rondebruin.nl


"Kanaski79" wrote in message ...
I attace it to a mailing in outlook. my documents folder open and the mail
and just drag and drop.

Kevin

"Ron de Bruin" wrote:

How do you mail it
FileSend To or with a macro

--
Regards Ron de Bruin
http://www.rondebruin.nl


"Kanaski79" wrote in message ...
More specificaly only when I mail it.

Kevin

"Ron de Bruin" wrote:

Hi

You must use code to do this or enter the date with a short cut

Ctrl ;

Or with code

Sub test()
ActiveCell.Value = Format(Date, "dd-mmm-yyyy")
End Sub


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Kanaski79" wrote in message ...
Ok I have another question.

With the =today() function is there a way to automaticaly make the date a
value so It will not change again, say once you mail the file, or when you
post it to web folder or something?

Thanks guys.

Kevin








  #8   Report Post  
Kanaski79
 
Posts: n/a
Default

I just don't want the date to change if my boss emails it to his boss or
whatever.
Would like it to be automatic but if it's realy difficult or impossible I'll
manage.

"Ron de Bruin" wrote:

Then it is not possible.

You can use code to automatic insert the last saved date into the file.

Is that a option



--
Regards Ron de Bruin
http://www.rondebruin.nl


"Kanaski79" wrote in message ...
I attace it to a mailing in outlook. my documents folder open and the mail
and just drag and drop.

Kevin

"Ron de Bruin" wrote:

How do you mail it
FileSend To or with a macro

--
Regards Ron de Bruin
http://www.rondebruin.nl


"Kanaski79" wrote in message ...
More specificaly only when I mail it.

Kevin

"Ron de Bruin" wrote:

Hi

You must use code to do this or enter the date with a short cut

Ctrl ;

Or with code

Sub test()
ActiveCell.Value = Format(Date, "dd-mmm-yyyy")
End Sub


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Kanaski79" wrote in message ...
Ok I have another question.

With the =today() function is there a way to automaticaly make the date a
value so It will not change again, say once you mail the file, or when you
post it to web folder or something?

Thanks guys.

Kevin









  #9   Report Post  
Dave H
 
Posts: n/a
Default

"Kanaski79" wrote in message
...
I just don't want the date to change if my boss emails it to his boss or
whatever.
Would like it to be automatic but if it's realy difficult or impossible
I'll
manage.


Why don't you try this the other way around - ie create a macro to email it
directly from Excel and change the formula to a value when you do the email
? This will permanently change the formula to it's resulting value.

For instance if your formula "=today()" is in cell B5....

' This is the equivalent of manually selecting the cell, Edit Copy,
Edit Paste Special, Select VALUE in the paste panel and OK

Range("B5").Select
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone,
SkipBlanks _
:=False, Transpose:=False
ActiveSheet.Paste
Application.CutCopyMode = False

' Code to email the spreadsheet
ActiveWorkbook.SendMail ", _
"Today's Spreadsheet"


See Ron de Bruin's Excel tips at http://www.rondebruin.nl/sendmail.htm for
examples.

VBA Email help if you need it....
SendMail Method
Sends the workbook by using the installed mail system.

expression.SendMail(Recipients, Subject, ReturnReceipt)

expression Required. An expression that returns a Workbook object.

Recipients Required Variant. Specifies the name of the recipient as text,
or as an array of text strings if there are multiple recipients. At least
one recipient must be specified, and all recipients are added as To
recipients.

Subject Optional Variant. Specifies the subject of the message. If this
argument is omitted, the document name is used.

ReturnReceipt Optional Variant. True to request a return receipt. False to
not request a return receipt. The default value is False.

Example
This example sends the active workbook to a single recipient.

ActiveWorkbook.SendMail recipients:="Jean Selva"


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
Date : =today() Tony Guzzo Excel Worksheet Functions 4 June 11th 06 02:35 PM
Can you do a function like =TODAY() PLUS 1? Donnie Excel Worksheet Functions 6 August 9th 05 12:07 PM
=TODAY() Craig Petersen via OfficeKB.com Excel Discussion (Misc queries) 3 December 30th 04 05:41 PM
How do I set date to change automatically on invoices created wit. Angel New Users to Excel 3 November 30th 04 04:10 AM
How do you keep the date using =TODAY() from changing? Chaneyt Excel Worksheet Functions 3 October 29th 04 09:45 PM


All times are GMT +1. The time now is 03:06 AM.

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"