+ Reply to Thread
Results 1 to 4 of 4

***Combined Message box for all questions***

  1. #1
    Spammer
    Join Date
    06-27-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    183

    ***Combined Message box for all questions***

    In the attached workbook, there are fore message box appears to get feedback to run macro.
    1. Want to divide the values in the excel sheet? Y/N if yes enter the value to divide
    2. Want to send mail to Mr. A…? Y/N
    3. Want to send mail to Mr.B…? Y/N
    4. Want to rename the sheet ? Y/N if yes enter the sheet name.


    Can we make all this question in one single message box, like forms? If yes kindly help to get the code

    I have mentioned sample message box in the attached workbook sheet 2
    Attached Files Attached Files

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,640

    Re: ***Combined Message box for all questions***

    Not much more than you did.
    Of course you can prepare a form.
    If you want a sequence of MsgBoxes - you can write a function like:

    Please Login or Register  to view this content.
    and then in a code have a bit shorter

    Please Login or Register  to view this content.

    rather then:
    Please Login or Register  to view this content.
    PS. Please do not attach password-protected files. It makes their processing longer.
    Best Regards,

    Kaper

  3. #3
    Spammer
    Join Date
    06-27-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    183

    Re: ***Combined Message box for all questions***

    Thanks Kaper for your input!


    I have attached the excel without password.

    Can any one guide me how to Cobain all this messages in form type.

    Regards,

    Prabhu
    Attached Files Attached Files

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,640

    Re: ***Combined Message box for all questions***

    See attached. There is a userform with first 2 questions (checkboxes) and 1 button (process).

    Once Userform is called ansd user selects checkboxws and pushes process the process button code is called:
    Please Login or Register  to view this content.
    and then in sample procedure current values of chcekboxes are tested:

    Please Login or Register  to view this content.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Adding an input message to each cell to bring back corrsponding message
    By Nic31 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-01-2014, 09:28 AM
  2. An error message on open - a totally blank VBA message box
    By Mr_Tigas in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-05-2013, 11:29 AM
  3. [SOLVED] How to pop up a warning message before any Excel automatic update link reminder message
    By billj in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-01-2013, 10:41 AM
  4. Extracting mail message(outlook) table in the message body
    By andywsw in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-12-2012, 10:14 PM
  5. questions that aren't really excel questions
    By martindwilson in forum The Water Cooler
    Replies: 1
    Last Post: 03-11-2012, 08:21 PM
  6. need of pop up message dynamically using data validation input message method
    By vba_life in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-09-2010, 09:03 AM
  7. [SOLVED] Intercept/replace standard 'cell protected' message with my own message?
    By KR in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-16-2006, 10:35 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1