+ Reply to Thread
Results 1 to 3 of 3

Kill AutoSave on Sharepoint Files

  1. #1
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Kill AutoSave on Sharepoint Files

    Our IT department just moved a slew of source files I access every day onto a SharePoint site. So far it's clunky, I don't like it, but I don't get a voice in that decision. With that said, I need help in modifying some of my macro tools.

    The macro below I've been using to turn off the Autosave options when these source files are opened. The old path is at the top of the macro, the new path is below. As configured, I get no error from the macro, but neither is it working on the SharePoint files I open. I've tried leaning my divider lines both ways, and that doesn't seem to help. I'd appreciate whatever advice I can get on this.

    Related, I used to have hyperlinks to each file I needed, but with SharePoint the file path seems to change on my hyperlinks, so yesterday's hyperlinks don't work today. if anyone has a workaround for that I'd appreciate hearing it.
    Please Login or Register  to view this content.
    I know I'm not stupid, but I suspect I'm a lot stupider than I think I am

  2. #2
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Kill AutoSave on Sharepoint Files

    I'm thinking part of the problem might be the workbook path. SharePoint adds other details to the path, which I think change each time, so instead of "If Wkb.Path = " maybe it should be something like "If Wkb.Path Like ", but don't know enough about the syntax to be sure of what's right. Still hoping for help.

  3. #3
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Kill AutoSave on Sharepoint Files

    Tried something different. When I originally worked on this code one of the suggestions was to use the Filesize, turn off Autosave for the Big Ones. So, I tried going that route with the code below (just starting it). For some workbooks I open it faithfully shows me the filesize, but for these sharepoint files it either gives an error ("Invalid Procedure Call") or doesn't do anything.
    Please Login or Register  to view this content.
    Last edited by jomili; 03-16-2018 at 03:01 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. [SOLVED] Kill all files which are located in the spesific folder
    By HerryMarkowitz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-11-2015, 08:47 AM
  2. Kill ONLY .xls (2003 excel) files
    By Shift-4 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-22-2014, 09:31 PM
  3. delete/kill a file on sharepoint intranet
    By cwchan220 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-21-2014, 01:12 PM
  4. Unzip-copy/paste specific files-kill .zip
    By hotelmrrsn in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-20-2014, 03:03 PM
  5. [SOLVED] Files starting with = kill my indexing script...any workaround?
    By Winterreise in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-12-2012, 09:40 AM
  6. Kill all non excel files in folder
    By uncleslinky in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-05-2012, 11:17 AM
  7. How to autosave files in Excel?
    By anar_baku in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-02-2005, 07:30 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