+ Reply to Thread
Results 1 to 3 of 3

Click on a url in sheet and save the file on a folder

  1. #1
    Forum Contributor
    Join Date
    10-30-2019
    Location
    Agra
    MS-Off Ver
    Office 2010
    Posts
    241

    Click on a url in sheet and save the file on a folder

    Hi,

    We have a url in Sheet1!B2, when we click on it, its open and download a file in zip format automatically.

    1. We want to create a vba and when we run it, it click on url and save the file in a particular folder and unzip it in same folder

    help pls
    Attached Files Attached Files

  2. #2
    Banned User!
    Join Date
    02-06-2020
    Location
    Iowa City, IA, USA
    MS-Off Ver
    2016 - 365 / 2007
    Posts
    2,014

    Re: Click on a url in sheet and save the file on a folder

    you can't unzip files with VBA without using API code, I don't believe. It has been asked before elsewhere, and maybe here. But rarely. regarding the other issue, it would be much easier for you to change your default download loc. in your browser program than to try and do something un-necessarily complex like manipulating the download pointer for files in the windows OS. is the URL an internet one? or a file on your local system? I would assume the web? to follow a URL in a cell, that is *already* a hyperlink, you need this:
    Please Login or Register  to view this content.
    https://docs.microsoft.com/en-us/off...ollowhyperlink

    the FSO never works properly either, in this language, in terms of remembering what directory it was last pointed to when used the previous time. that could be useful if you're trying to get a loc. file instead of a web-based one:

    https://docs.microsoft.com/en-us/off...mobject-object

  3. #3
    Forum Contributor
    Join Date
    10-30-2019
    Location
    Agra
    MS-Off Ver
    Office 2010
    Posts
    241

    Re: Click on a url in sheet and save the file on a folder

    ok Adamji.............

+ 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. Save as Range File name in a Folder on Single Click
    By nsandeepv87 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-04-2020, 06:27 AM
  2. [SOLVED] Lookup folder from cell text, then save excel file in this folder
    By dodgybob in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-14-2014, 09:00 AM
  3. [SOLVED] Save sheet as PDF in new folder with new file name
    By JoeJaycee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-01-2012, 03:03 PM
  4. Save a file to a folder, create folder if it doesn't exist
    By mcinnes01 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-01-2010, 09:12 AM
  5. Create Folder with system date then save file to folder
    By cartotech81 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-06-2009, 02:12 PM
  6. Replies: 6
    Last Post: 08-11-2006, 03:41 PM

Tags for this Thread

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