Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I get an error on final "MsgBox =" line. Can someone help with syntax? I
just want an "OK" button with warning sign. Dim Msg, Style, Title Style = vbExclamation Title = "Warning" Msg = "The Database import table" & _ Chr(13) & "has not been processed." & _ Chr(13) & "" & _ Chr(13) & "Please open Access and import it." & _ Chr(13) & "" & _ Chr(13) & "Then return to Excel and resume export" MsgBox = (Msg, Style, Title) |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dim Msg, Style, Title
Style = vbExclamation Title = "Warning" Msg = "The Database import table" & _ Chr(13) & "has not been processed." & _ Chr(13) & "" & _ Chr(13) & "Please open Access and import it." & _ Chr(13) & "" & _ Chr(13) & "Then return to Excel and resume export" MsgBox Msg, Style, Title -- Regards, Tom Ogilvy "scott" wrote in message ... I get an error on final "MsgBox =" line. Can someone help with syntax? I just want an "OK" button with warning sign. Dim Msg, Style, Title Style = vbExclamation Title = "Warning" Msg = "The Database import table" & _ Chr(13) & "has not been processed." & _ Chr(13) & "" & _ Chr(13) & "Please open Access and import it." & _ Chr(13) & "" & _ Chr(13) & "Then return to Excel and resume export" MsgBox = (Msg, Style, Title) |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks again for saving me.
"Tom Ogilvy" wrote in message ... Dim Msg, Style, Title Style = vbExclamation Title = "Warning" Msg = "The Database import table" & _ Chr(13) & "has not been processed." & _ Chr(13) & "" & _ Chr(13) & "Please open Access and import it." & _ Chr(13) & "" & _ Chr(13) & "Then return to Excel and resume export" MsgBox Msg, Style, Title -- Regards, Tom Ogilvy "scott" wrote in message ... I get an error on final "MsgBox =" line. Can someone help with syntax? I just want an "OK" button with warning sign. Dim Msg, Style, Title Style = vbExclamation Title = "Warning" Msg = "The Database import table" & _ Chr(13) & "has not been processed." & _ Chr(13) & "" & _ Chr(13) & "Please open Access and import it." & _ Chr(13) & "" & _ Chr(13) & "Then return to Excel and resume export" MsgBox = (Msg, Style, Title) |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Scott
one way: Dim sMsg As String, Style, sTitle As String Style = vbExclamation sTitle = "Warning" sMsg = "The Database import table" & _ Chr(13) & "has not been processed." & _ Chr(13) & "" & _ Chr(13) & "Please open Access and import it." & _ Chr(13) & "" & _ Chr(13) & "Then return to Excel and resume export" MsgBox sMsg, Style, sTitle Regards Trevor "scott" wrote in message ... I get an error on final "MsgBox =" line. Can someone help with syntax? I just want an "OK" button with warning sign. Dim Msg, Style, Title Style = vbExclamation Title = "Warning" Msg = "The Database import table" & _ Chr(13) & "has not been processed." & _ Chr(13) & "" & _ Chr(13) & "Please open Access and import it." & _ Chr(13) & "" & _ Chr(13) & "Then return to Excel and resume export" MsgBox = (Msg, Style, Title) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
msgbox in VBA | Excel Discussion (Misc queries) | |||
msgbox | Excel Discussion (Misc queries) | |||
msgbox | Excel Discussion (Misc queries) | |||
msgbox | Excel Programming | |||
MsgBox | Excel Programming |