LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default declaring a msgbox

Hello, I'm writing my first function using both an inputbox and
msgbox. Do I have to declare them at the beginning of the procedure?
i.e. dim msgbox as variant

Also, after doing this and using the F8 function to do a trial ru
through the code to see how it executes, it appears that the sub wor
at the beginning of the function causes a problem. Is it that thi
cannot qualify as a subprocedure? What should I do instead?

Thank you in advance.
Trace

--
Message posted from http://www.ExcelForum.com

 
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
Declaring variables freekrill Excel Discussion (Misc queries) 2 July 19th 06 06:36 AM
Declaring a value to equal 100% Mark Charts and Charting in Excel 2 January 21st 05 02:18 PM
Declaring a DLL Erich Neuwirth Excel Programming 1 May 10th 04 06:27 PM
Declaring a variable? pgoodale[_4_] Excel Programming 2 January 2nd 04 03:26 PM
Declaring Variables Robert[_16_] Excel Programming 2 November 20th 03 04:16 PM


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