Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default How to insert date at opening

Hi y'alls, noob here.

I want certain Excel spread sheets (Quote and order forms) to insert the
current date in a certain cell at the file's opening. How can I do that, if
possible, avoiding any form of VBA. I get itches just thinking of VB.

Thanx a bunch

Pete


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default How to insert date at opening

Then you should be using the itch-free
microsoft.public.excel.worksheet.functions newsgroup rather than
..programming <g

Try:

=TODAY()


In article <iay5f.20337$y_1.5006@edtnps89,
"Dr Fleau" wrote:

Hi y'alls, noob here.

I want certain Excel spread sheets (Quote and order forms) to insert the
current date in a certain cell at the file's opening. How can I do that, if
possible, avoiding any form of VBA. I get itches just thinking of VB.

Thanx a bunch

Pete

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 168
Default How to insert date at opening

A formula can do that, but it will change to whatever day it is when you
open the workbook. Otherwise you will most likely need to use VB.

=NOW()
Format the cell as needed.


"Dr Fleau" wrote in message
news:iay5f.20337$y_1.5006@edtnps89...
Hi y'alls, noob here.

I want certain Excel spread sheets (Quote and order forms) to insert the
current date in a certain cell at the file's opening. How can I do that,
if
possible, avoiding any form of VBA. I get itches just thinking of VB.

Thanx a bunch

Pete




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default How to insert date at opening

You need VBA

Private Sub Workbook_Open()
Worksheets("Quote").Range("A1").Value = Format(Date, "dd mmm yyyy")
Worksheets("order forms").Range("A1").Value = Format(Date, "dd mmm
yyyy")
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Dr Fleau" wrote in message
news:iay5f.20337$y_1.5006@edtnps89...
Hi y'alls, noob here.

I want certain Excel spread sheets (Quote and order forms) to insert the
current date in a certain cell at the file's opening. How can I do that,

if
possible, avoiding any form of VBA. I get itches just thinking of VB.

Thanx a bunch

Pete




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 168
Default How to insert date at opening

Ok,

I'll leave the problem solving to you.
Do you think you can take a look at my posting from 3:27pm "Defined Name
Range (Application.Match)

Thanks,
Paul

"JE McGimpsey" wrote in message
...
Then you should be using the itch-free
microsoft.public.excel.worksheet.functions newsgroup rather than
.programming <g

Try:

=TODAY()


In article <iay5f.20337$y_1.5006@edtnps89,
"Dr Fleau" wrote:

Hi y'alls, noob here.

I want certain Excel spread sheets (Quote and order forms) to insert the
current date in a certain cell at the file's opening. How can I do that,
if
possible, avoiding any form of VBA. I get itches just thinking of VB.

Thanx a bunch

Pete



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
when opening excell a Insert Visio Button pages opensHow 2 stopit Insert Visio Button Removal Setting up and Configuration of Excel 0 December 17th 07 05:39 PM
How can I insert a date with an icon (calendar) insert Alfredo Mederico[_2_] Excel Discussion (Misc queries) 4 September 21st 07 01:20 AM
Make date change in excel to current date when opening daily? jamie Excel Discussion (Misc queries) 3 March 1st 06 03:37 PM
Automatically Insert DATE, so that DATE will NOT change Cie Excel Worksheet Functions 4 April 4th 05 05:51 PM
date upon opening lawson Excel Programming 0 October 18th 04 08:17 PM


All times are GMT +1. The time now is 08:27 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"