LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Erin
 
Posts: n/a
Default

Thanks Anne!

"Anne Troy" wrote:

It looks like you didn't get all the code, there, Erin.
Here's a file with it in it:
http://www.myexpertsonline.com/freedls/msgboxonopen.xls
*******************
~Anne Troy

www.OfficeArticles.com
www.MyExpertsOnline.com


"Erin" wrote in message
...
it says complie error / snytax error now what. it has the Private Sub
Workbook_Open() highlighted in yellow and has MsgBox ("Starting June 2005

we
will be receiving a print out list of ATS " &
vbCrLf & _ just highlighted.

"Anne Troy" wrote:

Hi, Erin. Open your file. Hit Alt+F11 or Tools--Macro--Visual Basic
Editor.
Double-click ThisWorkbook. Paste the following code, hit the Save

diskette,
and close and reopen your workbook to see it happen:

Option Explicit

Private Sub Workbook_Open()

MsgBox ("Starting June 2005 we will be receiving a print out list of ATS

" &
vbCrLf & _
"(Application Toolig Solutions) invoices that paid sales tax." & vbCrLf

& _
"This will be reported quarterly. This should be applied to the credit
sheet."), vbOKOnly

End Sub

*******************
~Anne Troy

www.OfficeArticles.com
www.MyExpertsOnline.com


"Erin" wrote in message
...
I am trying to display a dialog box that pops up when you first open

an
excel
file. I want it to say...

Starting June 2005 we will be receiving a print out list of ATS
(Application
Toolig Solutions) invoices that paid sales tax. This will be reported
quarterly.
This should be applied to the credit sheet

I want it to have an "ok" button to close the dialog box.

How do I do this?









 
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
How can I make Excel display a message (dialog box) upon opening a spreadsheet? Phill Excel Discussion (Misc queries) 8 March 20th 05 06:22 PM
Excel's Dialog Box Dialog Box Excel Discussion (Misc queries) 1 February 12th 05 12:53 PM
Display a dialog box if cell is empty jst Excel Discussion (Misc queries) 2 December 28th 04 11:59 AM
Conditional display of a .jpeg file? sbhogle Excel Discussion (Misc queries) 2 November 30th 04 05:57 AM
Combine & Display “Fixed” & “Automatically Updated” Date Parts texcel Excel Worksheet Functions 1 November 1st 04 05:38 PM


All times are GMT +1. The time now is 11:50 PM.

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"