+ Reply to Thread
Results 1 to 2 of 2

Combo Boxes in Visual Basic and excel

  1. #1
    Registered User
    Join Date
    07-23-2007
    Posts
    3

    Combo Boxes in Visual Basic and excel

    Hi,

    I am currently working on a project at work and am looking to create a user form in visual basic. It will basically have a label saying "Please enter a reason for rejection" and a combo box containing a list of possible rejection reasons.

    My list is currently in Excel, and for every reason for rejection, i have a message which at the end of the macro will become part of an email.

    I would like to be able to create something so when the the reason for rejection is selected, and the user hits 'ok', the corresponding message will appear in a hidden worksheet which will act as the source for the email.

    I have no idea how to link the form from visual basic to excel and even if this is possible? Could anyone point me in the right direction and let me know if this is do-able, and any help on codes etc would be greatly appreciated.

    Thanks all

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Why not do it all in Excel?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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