Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default help with formula

I am trying to place the following in cell:

From: today's date to 365 + todays date

can anyone supply the formula for this:
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 184
Default help with formula

In Code:
Sub myDate()
Cells(1, 1) = Date + 365
End Sub

Placed in a Cell:
=TODAY() + 365

HTH--Lonnie M.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default help with formula

One way:

="From: " & TEXT(TODAY(),"m/d/yyyy") & " to " &
TEXT(TODAY()+365,"m/d/yyyy")

or, using programming

Range("A1").Value = "From: " & Format(Date,"m/d/yyyy") & _
" to " & Format(Date + 365, "m/d/yyyy")

In article ,
"W. Dennis McClam" wrote:

I am trying to place the following in cell:

From: today's date to 365 + todays date

can anyone supply the formula for this:
Thanks

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
Commenting custom formula fields/formula on formula editor Muxer Excel Programming 2 July 24th 03 01:02 AM


All times are GMT +1. The time now is 02:51 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"