View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
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