+ Reply to Thread
Results 1 to 6 of 6

Message Boxes

  1. #1
    Registered User
    Join Date
    03-26-2008
    Posts
    45

    Message Boxes

    I want my message box to pop up a message like "Your ticket number is 1001".

    I know how to make a message box that says that exactly, but I want the value to be from an existing table. Is there a way to do that?

    Thanks in advance

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Please Login or Register  to view this content.
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  3. #3
    Registered User
    Join Date
    03-26-2008
    Posts
    45
    Thanks for the reply.

    Currently I have column A pre-filled with unused issue numbers.
    I have a user form that adds the data to the first empty row starting with column b.

    So the issue number won't always be in the same cell....

    Would I be able to do an offset of some sort, like "all my code for finding the first empty row, offset (-1,-1)?

  4. #4
    Registered User
    Join Date
    03-26-2008
    Posts
    45
    Never mind, I figured it out. I didn't make it quite so complicated though...


    Please Login or Register  to view this content.
    Last edited by VBA Noob; 03-27-2008 at 06:02 PM.

  5. #5
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    It is normally best if you avoid using select within you code
    Try

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    03-26-2008
    Posts
    45
    Thanks a bunch!

+ 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