+ Reply to Thread
Results 1 to 5 of 5

Enter value into message box

  1. #1
    Valued Forum Contributor
    Join Date
    11-27-2013
    Location
    Brooklyn, NY
    MS-Off Ver
    Office 365
    Posts
    1,172

    Enter value into message box

    Hello Forum!
    I was wondering if it's possible to have a macro display a message box that allows me to enter a value into the message box itself?
    Allow me to be more specific, my current macro is a button that when pressed creates an excel invoice for the selected customer, the number i use is identical to Quickbook's number. Not always does the number match Quickbook's number as there are a number of users creating invoices, therefore i would like to know if it's possible that when the invoice button is pressed a message box will appear which will display the following: "Create invoice number ----- to customer" where "----" is open for me to enter any value i want, and once i click "yes" on the message box excel will take that number and paste it in cell A1 which is in Sheet2 (Sheet2 is the invoice template).

    Thanks in advance.

  2. #2
    Valued Forum Contributor
    Join Date
    11-27-2013
    Location
    Brooklyn, NY
    MS-Off Ver
    Office 365
    Posts
    1,172

    Re: Enter value into message box

    I got it!
    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor
    Join Date
    11-27-2013
    Location
    Brooklyn, NY
    MS-Off Ver
    Office 365
    Posts
    1,172

    Re: Enter value into message box

    However, is it possible that the input box in the message box will display the last used invoice number which will be found in cell A1?
    This would be great if it can work!

  4. #4
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Enter value into message box

    Try
    Please Login or Register  to view this content.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  5. #5
    Valued Forum Contributor
    Join Date
    11-27-2013
    Location
    Brooklyn, NY
    MS-Off Ver
    Office 365
    Posts
    1,172

    Re: Enter value into message box

    Wow!
    That was genius!
    It worked like a charm, thanks

+ 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. VBA Code to enter bullet points into VBA Outlook Message
    By Dubby20 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-02-2014, 03:51 PM
  2. Status message after hitting enter
    By buhwheet in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-16-2014, 02:16 PM
  3. [SOLVED] Error message if user tries to enter fraction/decimal
    By snowthedirtbub in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-02-2013, 08:37 PM
  4. [SOLVED] received message: Can't enter break mode at this time
    By William Weder in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-28-2006, 10:00 PM
  5. [SOLVED] How do I input a warning message to remind the user to enter into.
    By sugarbrit17 in forum Excel General
    Replies: 3
    Last Post: 01-25-2005, 05:06 PM

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