Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
when opening excell a Insert Visio Button pages opensHow 2 stopit | Setting up and Configuration of Excel | |||
How can I insert a date with an icon (calendar) insert | Excel Discussion (Misc queries) | |||
Make date change in excel to current date when opening daily? | Excel Discussion (Misc queries) | |||
Automatically Insert DATE, so that DATE will NOT change | Excel Worksheet Functions | |||
date upon opening | Excel Programming |