Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 101
Default Date in VBA Code Printout

Is there any way to get a date into the print of VBA Code?

--
Bill @ UAMS
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default Date in VBA Code Printout

Do you mean myDate = #8/6/05# , where the pound signs indicate a date?

"BillCPA" <Bill @ UAMS wrote in message
...
Is there any way to get a date into the print of VBA Code?

--
Bill @ UAMS



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Date in VBA Code Printout

If you mean when you print the code:

No, except to type it in the module. No header/footer options.

--
Regards,
Tom Ogilvy

"BillCPA" <Bill @ UAMS wrote in message
...
Is there any way to get a date into the print of VBA Code?

--
Bill @ UAMS



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 692
Default Date in VBA Code Printout

Bill,

You could manually enter the date at the top of a Module (be sure to use the
asterik '
' 8/5/05
or ' Aug 5, 2005

Or you could set up a separate code module to input the date into a Module
and than print the module. For this you'll need code to write to a code
module.

--
steveB

Remove "AYN" from email to respond
"BillCPA" <Bill @ UAMS wrote in message
...
Is there any way to get a date into the print of VBA Code?

--
Bill @ UAMS



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 101
Default Date in VBA Code Printout

This is what I'm looking for. Where might I find some examples of code to
write to a code module?

--
Bill @ UAMS


"STEVE BELL" wrote:

Bill,

You could manually enter the date at the top of a Module (be sure to use the
asterik '
' 8/5/05
or ' Aug 5, 2005

Or you could set up a separate code module to input the date into a Module
and than print the module. For this you'll need code to write to a code
module.

--
steveB

Remove "AYN" from email to respond
"BillCPA" <Bill @ UAMS wrote in message
...
Is there any way to get a date into the print of VBA Code?

--
Bill @ UAMS






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Date in VBA Code Printout

Chip Pearson's page

http://www.cpearson.com/excel/vbe.htm

--
Regards,
Tom Ogilvy

"BillCPA" <Bill @ UAMS wrote in message
...
This is what I'm looking for. Where might I find some examples of code to
write to a code module?

--
Bill @ UAMS


"STEVE BELL" wrote:

Bill,

You could manually enter the date at the top of a Module (be sure to use

the
asterik '
' 8/5/05
or ' Aug 5, 2005

Or you could set up a separate code module to input the date into a

Module
and than print the module. For this you'll need code to write to a code
module.

--
steveB

Remove "AYN" from email to respond
"BillCPA" <Bill @ UAMS wrote in message
...
Is there any way to get a date into the print of VBA Code?

--
Bill @ UAMS






  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 124
Default Date in VBA Code Printout

Also, another example ...

http://www.vbaexpress.com/kb/getarticle.php?kb_id=250

HTH


--
Regards,
Zack Barresse, aka firefytr


"BillCPA" <Bill @ UAMS wrote in message
...
This is what I'm looking for. Where might I find some examples of code to
write to a code module?

--
Bill @ UAMS


"STEVE BELL" wrote:

Bill,

You could manually enter the date at the top of a Module (be sure to use
the
asterik '
' 8/5/05
or ' Aug 5, 2005

Or you could set up a separate code module to input the date into a
Module
and than print the module. For this you'll need code to write to a code
module.

--
steveB

Remove "AYN" from email to respond
"BillCPA" <Bill @ UAMS wrote in message
...
Is there any way to get a date into the print of VBA Code?

--
Bill @ UAMS






  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 101
Default Date in VBA Code Printout

Thanks, guys!
--
Bill @ UAMS


"BillCPA" wrote:

This is what I'm looking for. Where might I find some examples of code to
write to a code module?

--
Bill @ UAMS


"STEVE BELL" wrote:

Bill,

You could manually enter the date at the top of a Module (be sure to use the
asterik '
' 8/5/05
or ' Aug 5, 2005

Or you could set up a separate code module to input the date into a Module
and than print the module. For this you'll need code to write to a code
module.

--
steveB

Remove "AYN" from email to respond
"BillCPA" <Bill @ UAMS wrote in message
...
Is there any way to get a date into the print of VBA Code?

--
Bill @ UAMS




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
printout with auto date adib Excel Worksheet Functions 2 March 9th 09 01:14 PM
Code to conditional format all black after date specified in code? wx4usa Excel Discussion (Misc queries) 3 December 26th 08 07:06 PM
Convert a julian gregorian date code into a regular date Robert Excel Worksheet Functions 3 June 13th 06 07:03 PM
code pasting a date changes date format in current month only Edward[_5_] Excel Programming 0 May 10th 04 06:13 PM
Printout Code Problem Jonsson[_15_] Excel Programming 8 April 26th 04 03:21 PM


All times are GMT +1. The time now is 12:22 PM.

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"