vba courses london - auto insert date into

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft VBA Training and help » vba courses london - Auto Insert Date into a Cell

vba courses london - Auto Insert Date into a Cell

resolvedResolved · Low Priority · Version Standard

Alex has attended:
Project Intro Intermediate course
Excel Advanced course
Excel VBA Intro Intermediate course

Auto Insert Date into a Cell

Is it possible for a cell to be automatically populated with todays date in earlier versions than Excel 2003?

RE: Auto Insert Date into a Cell

this does not sound like a vba code try typing
=TODAY() IN THE CELL

RE: Auto Insert Date into a Cell

Is there any way of using a macro to do this so that the date does not change everytime the file is opened, hence showing the original date of when the macro was run?

RE: Auto Insert Date into a Cell

Instead of a macro you could click in the cell where the date is to appear and use

Ctrl+Semi Colon(;)

To enter today's date in the cell

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

VBA tip:

Display Text In a Msgbox On Multiple Lines

When displaying text in a MsgBox you may need to show it over multiple lines. To do this use:

vbCrLf

As in:

MsgBox "The System has detected an error." & vbCrLf & "Contact your System Administrator"

The first sentence in quotes will appear above the second in the MsgBox.

View all VBA hints and tips


Server loaded in 0.07 secs.