+ Reply to Thread
Results 1 to 6 of 6

macro to share all open work books

  1. #1
    Registered User
    Join Date
    11-18-2014
    Location
    Sydney Australia
    MS-Off Ver
    Windows 7 professional
    Posts
    10

    Question macro to share all open work books

    Hi all! At the beginning of shift I have to open and share up to 30 workbooks. Can someone please suggest a macro or a function that I can insert into my master work book and which will share all open workbooks in one go? Thanks so much, regards, Itzik

  2. #2
    Valued Forum Contributor natefarm's Avatar
    Join Date
    04-22-2010
    Location
    Wichita, Kansas
    MS-Off Ver
    2016
    Posts
    1,020

    Re: macro to share all open work books

    This should do it.

    Please Login or Register  to view this content.
    Acts 4:12
    Salvation is found in no one else, for there is no other name under heaven given to mankind by which we must be saved.

  3. #3
    Registered User
    Join Date
    11-18-2014
    Location
    Sydney Australia
    MS-Off Ver
    Windows 7 professional
    Posts
    10

    Re: macro to share all open work books

    Dear Natefarm, thanks so much. I will plug this in and give it a go. Regards, ItzikM.

  4. #4
    Registered User
    Join Date
    11-18-2014
    Location
    Sydney Australia
    MS-Off Ver
    Windows 7 professional
    Posts
    10

    Re: macro to share all open work books

    Dear Natefarm, this afternoon I finally got a chance to test your code and it works beautifully. Thanks so much. I came up against a glitch however, and the first time I ran it my excel stopped working. It turned out that one of the excel sheets I had opened had already been shared. Is there any way to make the code skip a workbook if it is already shared, rather than going into a loop? Regards, ItzikM

  5. #5
    Forum Contributor
    Join Date
    06-04-2013
    Location
    Moscow
    MS-Off Ver
    Office 365
    Posts
    100

    Re: macro to share all open work books

    Try it
    Please Login or Register  to view this content.
    I'm sorry my english...

  6. #6
    Registered User
    Join Date
    11-18-2014
    Location
    Sydney Australia
    MS-Off Ver
    Windows 7 professional
    Posts
    10

    Re: macro to share all open work books

    Dear The_Prist. Thank you so much. I will plug this in and try it. Regards ItzikM

+ 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] Print all open work books except the one running the macro??
    By james 35 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-04-2013, 02:22 AM
  2. [SOLVED] Paste sheets into all open work books regardless on name ??
    By james 35 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-28-2013, 08:18 AM
  3. Macro to collate data from different work books and different work sheets
    By bvdileep in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-04-2012, 05:34 AM
  4. need help to minimize the windows and allow other excel work books to open
    By Ignesh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-30-2012, 08:56 AM
  5. Not able to open or select other work books while user form is activate
    By rvc81 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-16-2011, 06:14 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