+ Reply to Thread
Results 1 to 13 of 13

Drag and Drop [files into embedded folder icon]

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    02-12-2018
    Location
    TX
    MS-Off Ver
    MS Office 2019
    Posts
    305

    Drag and Drop [files into embedded folder icon]

    I have a spreadsheet. I've added a Icon of a Folder to that spreadsheet. I linked that Icon to an existing folder on my desktop. Is there a way that I can drag/drop documents into that Folder Icon so that they appear in the folder they are linked to? Thanks for the help.

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Drag and Drop [files into embedded folder icon]

    I think you would need to display a source directory for the documents you want to move into the target folder. If you do that, then it defeats the purpose of the embedded icon, since you can just drag files in the directory display to do the same thing. Or maybe I don'[t get the picture.
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

  3. #3
    Forum Contributor
    Join Date
    02-12-2018
    Location
    TX
    MS-Off Ver
    MS Office 2019
    Posts
    305

    Re: Drag and Drop [files into embedded folder icon]

    Basically the same concept of dragging/dropping into any folder on your desktop. I feel like it SHOULD be possible, I'm just having a hard time finding the solution.

  4. #4
    Forum Contributor
    Join Date
    02-12-2018
    Location
    TX
    MS-Off Ver
    MS Office 2019
    Posts
    305

    Re: Drag and Drop [files into embedded folder icon]

    My train of thought was, you can hyperlink an icon/picture to a folder...easy peasy. So is there a way to drag and drop things into that folder by just dragging them over the icon?

  5. #5
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Drag and Drop [files into embedded folder icon]

    Drag and drop documents from where? Do you mean you've added a picture of a folder and then added a hyperlink to the picture that's pointed to the folder?
    Last edited by Kyle123; 10-29-2018 at 10:05 AM.

  6. #6
    Forum Contributor
    Join Date
    02-12-2018
    Location
    TX
    MS-Off Ver
    MS Office 2019
    Posts
    305

    Re: Drag and Drop [files into embedded folder icon]

    Please see attached. Might clear things up. Tks.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    02-12-2018
    Location
    TX
    MS-Off Ver
    MS Office 2019
    Posts
    305

    Re: Drag and Drop [files into embedded folder icon]

    And to the "from where?" portion of your question, drag them from various locations on the pc. I'm trying to use this as a platform to organize customer information.

  8. #8
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Drag and Drop [files into embedded folder icon]

    Sorry, I must have missed something - how are any of those linked to a folder on your desktop?

    Anyway, now I know what you're after, I think the answer is no, well not feasibly anyway, you'd need to capture the event of dropping a file on the worksheet that I don't think is exposed.

    The easiest way of doing this I think would be to drop a web browser control on a userform that opens when you click the icon. You could then drop files onto this to move them.
    Last edited by Kyle123; 10-29-2018 at 10:47 AM.

  9. #9
    Forum Contributor
    Join Date
    02-12-2018
    Location
    TX
    MS-Off Ver
    MS Office 2019
    Posts
    305

    Re: Drag and Drop [files into embedded folder icon]

    Currently they're not linked to anything...I haven't applied the hyperlinks. Here's the plan. Let's say I have 10 rows. Each row is a customer/job. When I click that button the icons will appear. I will be able to link to a call log, a job folder for that customer, spreadsheet for that customer, a schedule, etc. Regarding the FOLDER icon. I want to take documents as I receive them and put them in that customer's folder. I'd like to do this by Dragging and Dropping, onto the Icon.

  10. #10
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Drag and Drop [files into embedded folder icon]

    The easiest way of doing this I think would be to drop a web browser control on a userform that opens when you click the icon. You could then drop files onto this to move them.

  11. #11
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Drag and Drop [files into embedded folder icon]

    You're using the wrong tool for the job here though, Excel is a calculator, Access would be a better choice

  12. #12
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Drag and Drop [files into embedded folder icon]

    object<OK>Hyperklink<Not OK>Application Constant. It will not transition from the worksheet obect to the directory through an icon hyperlink. The underlying drag and drop software would not support that method.

  13. #13
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Drag and Drop [files into embedded folder icon]

    duplicated
    Last edited by JLGWhiz; 10-29-2018 at 03:11 PM.

+ 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 script to take files in a folder, find a specific sheet and click a ribbon icon
    By aju051000 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-26-2018, 11:31 AM
  2. VBA script to take files in a folder, find a specific sheet and click a ribbon icon
    By aju051000 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-21-2018, 11:11 AM
  3. Drag and drop textfile onto .xlt icon
    By dshilan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-11-2012, 01:20 PM
  4. [SOLVED] Inserting links to files by drag and drop
    By Buntspecht in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-06-2012, 10:27 AM
  5. Replies: 1
    Last Post: 10-28-2011, 01:30 AM
  6. drag and drop files onto cells for hyperlinking?
    By buhnen in forum Excel General
    Replies: 11
    Last Post: 08-10-2011, 09:03 PM
  7. exce; macro to open, save embedded pdf, word, excel, ppt files to a folder
    By mcledavid in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-16-2009, 05:17 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