+ Reply to Thread
Results 1 to 2 of 2

Cannot create a Chrome URL shortcut using VBA. But works if I copy / paste the output

  1. #1
    Registered User
    Join Date
    10-29-2017
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    21

    Cannot create a Chrome URL shortcut using VBA. But works if I copy / paste the output

    I am trying to automatically create internet links to IMDB into Windows folders.

    I get 'The target "" of this Internet Shortcut is not valid...." error for my links. If I copy / paste it as a new link in Windows it will work (see screenshot - top link doesn't work. If I copy / paste it it works).

    I am using this code to create the file. I guess creating it as a 'text' style document is the error but I can't figure out a way round it:

    Please Login or Register  to view this content.
    Capture.PNG

  2. #2
    Registered User
    Join Date
    10-29-2017
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    21

    Re: Cannot create a Chrome URL shortcut using VBA. But works if I copy / paste the output

    Ok, didn't manage to 'solve' this but found if I create multiple URL shortcuts only the first one doesn't work - the rest do for some odd reason, so just need to create more than one in the script and overwrite the first one and it works. V odd....

+ 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. [SOLVED] Create a keyboard shortcut through Macro in order to copy paste special (divide)
    By greywarden in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-19-2017, 10:48 AM
  2. How to select all copy and paste special from IE/Chrome tab to excel using macro?
    By Jake213981 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-15-2016, 06:50 AM
  3. [SOLVED] Create loop, copy output, paste into new sheet
    By KBrown11 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-23-2016, 04:17 PM
  4. [SOLVED] VBA: Search Word Chrome and Mozilla, Copy, Merge Cells and Paste.
    By sroysroy in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 10-25-2015, 07:43 PM
  5. Replies: 11
    Last Post: 11-04-2013, 04:32 PM
  6. Replies: 3
    Last Post: 10-14-2013, 03:06 PM
  7. [SOLVED] I cannot paste from one workbook to another. Copy works, paste do.
    By JimmyMc in forum Excel General
    Replies: 1
    Last Post: 06-10-2005, 11:05 AM

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