+ Reply to Thread
Results 1 to 4 of 4

Update closed workbook

  1. #1
    Forum Contributor
    Join Date
    09-17-2014
    Location
    UK
    MS-Off Ver
    2007
    Posts
    117

    Update closed workbook

    I'm wanting to copy some additional entries into a table in a closed workbook from a userform.

    I can't see how it would work, but before I start coding to retrieve and open workbooks, is it possible to update without the destination workbook being opened?

    The destination workbook will be held on a SharePoint site on our intranet.

    Thanks in advance.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: Update closed workbook

    I believe you can retrieve data from a closed workbook, but you can't add data to a closed workbook.

    I remember trying to open a workbook from SharePoint server. I believe I had to map it on my computer 1st.

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Update closed workbook

    Use Getobject() method which will open the workbook in invisible mode


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Forum Contributor
    Join Date
    09-17-2014
    Location
    UK
    MS-Off Ver
    2007
    Posts
    117

    Re: Update closed workbook

    Sweet - GetObject does the trick for local content.

    However....

    The workbook I need to update is on a sharepoint server - as davesexcel eludes to, this changes the game slightly.
    Please Login or Register  to view this content.
    works perfectly.

    I can retrieve, open and update from SharePoint, however I would like to do this silently but the URL throws up an error and changing the slashes URL backslashes to forward ones hits an error with the HTTP: part.

    Any ideas or should this be a whole new post?

+ 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. Update Cell Value from a Closed Workbook to Another Closed Workbook
    By glennchung in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-17-2014, 04:44 PM
  2. How to read update from a closed workbook
    By Gooford in forum Excel General
    Replies: 3
    Last Post: 12-11-2012, 10:27 AM
  3. Update a closed workbook daily using VBA
    By timmycl_7 in forum Excel General
    Replies: 6
    Last Post: 09-23-2011, 06:49 AM
  4. Cant update data to closed workbook
    By kwik98 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-08-2010, 10:57 PM
  5. Update cells whose source is in a closed workbook
    By OilMan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-10-2010, 07:39 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