+ Reply to Thread
Results 1 to 3 of 3

send attachment selected in userform to a specific cell

  1. #1
    Registered User
    Join Date
    03-13-2013
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2010
    Posts
    6

    send attachment selected in userform to a specific cell

    I found some great code that I attached to a button on my userform. It allows the user to browse for a document, and attach it to the selected cell in the worksheet. Is there any way I could have the attachment display in a certain cell depending on what option was selected in a combobox also on the userform? Below is the code I found. Below that is where I made some minor adjustments to try and send the attachment to a specifc cell, with little success. with my adjustment a label "TRUE" shows up in the correct cell, but the attachment still falls into whatever the active cell is.

    Please Login or Register  to view this content.

    MY ATTEMPT:

    Please Login or Register  to view this content.
    Last edited by arlu1201; 03-22-2013 at 03:52 AM.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: send attachment selected in userform to a specific cell

    Is this solved?

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.

    Also,

    I have added code tags to your post. As per forum rule 3, you need to use them whenever you put any code in your post. Please add them in future. If you need more information on how to use them, check my signature below this post.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    03-13-2013
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: send attachment selected in userform to a specific cell

    Thank you for your notes on code tags. I am new to this forum and still getting to know how things work. Below is the code I was able to come up with that solved the problem. Not all the work was mine, but I was able to adjust it to suit my purpose.

    Please Login or Register  to view this content.

+ 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