close

I am using excel and want to automatically display a message when the user
opens up the spreadsheet.
Prakash, one way, if macros are enabled,

Private Sub Workbook_Open()
MsgBox quot;Your Message Herequot;
End Sub

To put in this macro, from your workbook right-click the workbook's icon and
pick View Code. This icon is to the left of the quot;Filequot; menu this will open
the VBA editor, in Project Explorer double click on thisworkbook, under your
workbook name, if you don't see it press CTRL r to open the Project
Explorer, then paste the code in the window that opens on the right hand
side, press Alt and Q to close this window and go back to your workbook, now
this will run every time you open the workbook. If you are using excel 2000
or newer you may have to change the macro security settings to get the macro
to run. To change the security settings go to tools, macro, security,
security level and set it to medium

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 amp; 2003

quot;Prakashquot; gt; wrote in message
...
gt; I am using excel and want to automatically display a message when the user
gt; opens up the spreadsheet.
gt;
gt;
Nicely done Paul..........attaboy's for taking the extra time to explain the
usage.

Vaya con Dios,
Chuck, CABGx3
quot;Paul Bquot; wrote:

gt; Prakash, one way, if macros are enabled,
gt;
gt; Private Sub Workbook_Open()
gt; MsgBox quot;Your Message Herequot;
gt; End Sub
gt;
gt; To put in this macro, from your workbook right-click the workbook's icon and
gt; pick View Code. This icon is to the left of the quot;Filequot; menu this will open
gt; the VBA editor, in Project Explorer double click on thisworkbook, under your
gt; workbook name, if you don't see it press CTRL r to open the Project
gt; Explorer, then paste the code in the window that opens on the right hand
gt; side, press Alt and Q to close this window and go back to your workbook, now
gt; this will run every time you open the workbook. If you are using excel 2000
gt; or newer you may have to change the macro security settings to get the macro
gt; to run. To change the security settings go to tools, macro, security,
gt; security level and set it to medium
gt;
gt; --
gt; Paul B
gt; Always backup your data before trying something new
gt; Please post any response to the newsgroups so others can benefit from it
gt; Feedback on answers is always appreciated!
gt; Using Excel 2002 amp; 2003
gt;
gt; quot;Prakashquot; gt; wrote in message
gt; ...
gt; gt; I am using excel and want to automatically display a message when the user
gt; gt; opens up the spreadsheet.
gt; gt;
gt; gt;
gt;
gt;
gt;

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 software 的頭像
    software

    software

    software 發表在 痞客邦 留言(0) 人氣()