+ Reply to Thread
Results 1 to 3 of 3

Need a message box to appear before pasting data from another worksheet.

  1. #1
    Registered User
    Join Date
    07-25-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    16

    Need a message box to appear before pasting data from another worksheet.

    I currently have a button in a spreadsheet that pastes data from another worksheet, here is the code I have running. I would like a message box to appear with two buttons, one button would say WO# and the other would say Problem. The message box would say, "Where would you like to input the data". The WO# button would insert the data in I1 and the probem button would insert the data in A7. Attached is the code that is currently running with the button, any help would be appreciated.
    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Need a message box to appear before pasting data from another worksheet.

    Msgbox can not have 2 buttons, you need a userform

  3. #3
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,125

    Re: Need a message box to appear before pasting data from another worksheet.

    Since you don't provide details about filenames and sheet names, I had to use activesheet.

    Make sure the log file is open when you run this from the destination workbook.
    Attached Files Attached Files
    David
    (*) Reputation points appreciated.

+ 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