LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,646
Default MsgBox containing text from cell

Sorry, I should have noticed before, the correct reference to cell F29 in VBA
is Range("F29") or Cells(29,6). Check the format of F29, it should be Date!

Sub ReminderMessageOnOpening()

Dim ReportType As String

If ThisWorkbook.Sheets("Instructions").Range("C29") < "" Then
ReportType = ThisWorkbook.Sheets("Instructions").Range("C29")
If ThisWorkbook.Sheets("Instructions").Range("F29") = Date Then
MsgBox ("Reminder.... Project " & ReportType & "due today")
End If
End If
End Sub

Regards,
Stefi

 
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
MsgBox text on several lines mohavv Excel Discussion (Misc queries) 1 November 21st 07 08:17 PM
How to center text in a msgbox Dave_2k5 Excel Discussion (Misc queries) 2 July 26th 05 01:20 PM
Centering MsgBox text Patrick Excel Programming 2 February 17th 05 07:49 PM
wrapping text in a pop-up box - MsgBox Abi Excel Programming 2 January 13th 05 01:37 PM
VBA MsgBox() Text gkelle[_9_] Excel Programming 2 April 20th 04 08:32 PM


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