+ Reply to Thread
Results 1 to 2 of 2

Excel/VBA/SharePoint - link all 3 not working

  1. #1
    Registered User
    Join Date
    06-29-2018
    Location
    UK
    MS-Off Ver
    o365
    Posts
    4

    Question Excel/VBA/SharePoint - link all 3 not working

    Just wondering if anyone can help...

    We have an old excel workbook that runs some VBA code, however we have recently moved to a SharePoint system and the macro now fails.... I have tried replacing the code (sarting W) but having no luck.

    This is the bit of code in question

    file.CopyFile "i:\impdata\fstock\sindex.ind", "W:\Departments\Accounts\SINDEX.IND", True

    Where it states "W:\Departments\Accounts\SINDEX.IND" this is now a SharePoint site, i thought it would be just be as simple as putting the replacing the old path with the site, but that fails.

    Is there something i am missing?
    Last edited by RichHowe; 06-14-2023 at 09:38 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,183

    Re: Excel/VBA/SharePoint

    Your thread title doesn't say much - please update it to indicate what sort of help you are after.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Copy Excel file from One SharePoint to another SharePoint
    By E5254730 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-09-2023, 06:52 AM
  2. Replies: 0
    Last Post: 10-28-2020, 02:32 PM
  3. VBA to select SharePoint Content Type when saving Excel file to SharePoint
    By Luffk73 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-24-2017, 05:22 PM
  4. Replies: 0
    Last Post: 11-03-2014, 11:46 AM
  5. [SOLVED] Unable to copy data from excel inside Sharepoint folder - Excel VBA
    By Narasimharao Nandula in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-21-2014, 11:25 AM
  6. Opening SharePoint file with VBA - disable SharePoint "Contacting the server" message
    By kopite2002 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-22-2013, 01:56 AM
  7. Replies: 0
    Last Post: 10-08-2013, 10:54 AM

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