LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
David McRitchie
 
Posts: n/a
Default Where is a sample formula for retrieving the system date?

Hi Artemis,
Dave Peterson gave you answers using worksheet formulas, the formatting
of the date relies on your system short date (Control Panel). You can modify
the format from that default.

But I expect the your question really concerns use in VBA, so you would
want to look up DATE from the Visual Basic Editor (VBE) in HELP from there.

More information on Date and Time can be found in
http://www.mvps.org/dmcritchie/excel/datetime.htm
http://www.cpearson.com/excel/datetime.htm

In rereading the question, you definitely asked about VB, so the subject does
not match the question. Asking questions takes quite a bit of effort to ask a
question and get an answer the first time that is one that would work best for you.
If you asked for a specific format for instance you would get a specific answer.

Since you are taking Excel in University you certainly should be familiar with the
many excellent Excel tutorials available online to anyone.
http://www.mvps.org/dmcritchie/excel....htm#tutorials
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Artemis" wrote in message ...
Hello:

I am very new to coding and would appreciate some guidance. Does anyone
know or are there any sites which give sample code for VB in Excel and most
specifically having a spreadsheet "pull" the system date. I am going to
University plus working for accounting firms, so don't know where to search
on begin on looking to have a macro which displays the date code. Also, is
there any code for counting say to put an invoice number on a spreadsheet.
Thanks for all of your help.

--
Enjoy learning everything possible in life.



 
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
Trending Formula Results by Date sony654 Excel Worksheet Functions 0 January 2nd 06 02:33 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
How do I add a date formula to a cell but hide the contents with . Emzy Wemzy Excel Discussion (Misc queries) 2 December 12th 04 01:48 PM


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