LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 275
Default msg box help

thanks JIM, WORKS JUST FINE

"Jim Thomlinson" wrote:

MsgBox "Receipt for " & vbCrLf & _
format(Sheets("Sheet1").Range("A1").Value, "mm/dd/yyyy") & vbCrLf & _
" has been created and is ready to print!" , _
vbOKOnly & vbExclamation, " Receipt Daily Info"
--
HTH...

Jim Thomlinson


"Anthony" wrote:

Hi,

is it possible to add a date which is taken from a cell ref within a
worksheet and place it into my msg box??

the date is in sheet1 cell A1
and here is my current msg box


MsgBox ("Receipt for " & vbCrLf & _
"has been created and is ready to print! "), vbOKOnly & vbExclamation, _
(" Receipt Daily info")

I want the date to be added after the text "Receipt for" in the msg box

thanks in advance

 
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



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