Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Rob Rob is offline
external usenet poster
 
Posts: 718
Default MsgBox Special Characters

Can someone please, please tell me where to find a complete list of how I can
utilize special characters within an Excel MsgBox?

Specifically the open and close Parentheses... ( )



Thanks Much!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default MsgBox Special Characters

What exactly are you trying to do?

MsgBox("This is a test ( )")



"Rob" wrote:

Can someone please, please tell me where to find a complete list of how I can
utilize special characters within an Excel MsgBox?

Specifically the open and close Parentheses... ( )



Thanks Much!

  #3   Report Post  
Posted to microsoft.public.excel.programming
Rob Rob is offline
external usenet poster
 
Posts: 718
Default MsgBox Special Characters

Her's my code... so far. I haven't gone farther because it constantly errors
out exactly at the.... (to Auto-Save) portion of the MsgBox.


Sub UpdateData()

Dim srcWB As Workbook
Dim desWB As Workbook
Dim tbWS As String
Dim taWS As String

tDay = Format(Now(), "mm-dd-yyyy")

On Error Resume Next
Set srcWB = Workbooks("Summary.xls")
Set desWB = Workbooks("Charts " & tDay & ".xls")
taWS = "Sheet1"
tbWS = "Sheet2"
On Error GoTo 0

If desWB Is Nothing Then
Select Case MsgBox("Today's Charts Were Not Detected!" &vbCRLF& _
& "If The Old Charts are Open BUT not Saved for Today Then..." & vbCLRF &
vbCRLF _
& vbTab "Please Select the YES Button... (to Auto-Save)" & vbCRLF & vbCRLF
& "Otherwise, Please Select NO" _
" to Auto-Open AND Auto-Save.",vbCritical + vbYesNoCancel, "Begin Update
Prompt")


End Sub




"Barb Reinhardt" wrote:

What exactly are you trying to do?

MsgBox("This is a test ( )")



"Rob" wrote:

Can someone please, please tell me where to find a complete list of how I can
utilize special characters within an Excel MsgBox?

Specifically the open and close Parentheses... ( )



Thanks Much!

  #4   Report Post  
Posted to microsoft.public.excel.programming
Rob Rob is offline
external usenet poster
 
Posts: 718
Default MsgBox Special Characters

Thank You Very Much!!!


"Gary Keramidas" wrote:

give this a try, it's untested but compiled. also, watch for wordwrap.

Sub UpdateData()

Dim srcWB As Workbook
Dim desWB As Workbook
Dim tbWS As String
Dim taWS As String

tDay = Format(Now(), "mm-dd-yyyy")

On Error Resume Next
Set srcWB = Workbooks("Summary.xls")
Set desWB = Workbooks("Charts " & tDay & ".xls")
taWS = "Sheet1"
tbWS = "Sheet2"
On Error GoTo 0

If desWB Is Nothing Then
Select Case MsgBox("Today's Charts Were Not Detected!" & vbCrLf & _
"If The Old Charts are Open BUT not Saved for Today Then..." & vbCLRF &
vbCrLf _
& vbTab & "Please Select the YES Button... (to Auto-Save)" & vbCrLf &
vbCrLf & _
"Otherwise, Please Select NO to Auto-Open AND Auto-Save.", vbYesNoCancel, _
"Begin Update Prompt")

Case vbYes

Case vbNo

Case vbCancel

End Select
End If
End Sub

--

Gary Keramidas
Excel 2003


"Rob" wrote in message
...
Her's my code... so far. I haven't gone farther because it constantly errors
out exactly at the.... (to Auto-Save) portion of the MsgBox.


Sub UpdateData()

Dim srcWB As Workbook
Dim desWB As Workbook
Dim tbWS As String
Dim taWS As String

tDay = Format(Now(), "mm-dd-yyyy")

On Error Resume Next
Set srcWB = Workbooks("Summary.xls")
Set desWB = Workbooks("Charts " & tDay & ".xls")
taWS = "Sheet1"
tbWS = "Sheet2"
On Error GoTo 0

If desWB Is Nothing Then
Select Case MsgBox("Today's Charts Were Not Detected!" &vbCRLF& _
& "If The Old Charts are Open BUT not Saved for Today Then..." & vbCLRF &
vbCRLF _
& vbTab "Please Select the YES Button... (to Auto-Save)" & vbCRLF & vbCRLF
& "Otherwise, Please Select NO" _
" to Auto-Open AND Auto-Save.",vbCritical + vbYesNoCancel, "Begin Update
Prompt")


End Sub




"Barb Reinhardt" wrote:

What exactly are you trying to do?

MsgBox("This is a test ( )")



"Rob" wrote:

Can someone please, please tell me where to find a complete list of how I
can
utilize special characters within an Excel MsgBox?

Specifically the open and close Parentheses... ( )



Thanks Much!



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
special Characters P. Zicari Excel Discussion (Misc queries) 2 October 22nd 07 04:09 PM
Special characters Gilles Desjardins Excel Worksheet Functions 2 December 8th 04 04:17 AM
MsgBox Spacing of Characters Chuckles123[_30_] Excel Programming 1 October 9th 04 10:29 PM
MsgBox Spacing of Characters Chuckles123[_29_] Excel Programming 0 October 8th 04 05:09 AM
MsgBox Spacing of Characters Chuckles123[_28_] Excel Programming 1 October 8th 04 04:14 AM


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