+ Reply to Thread
Results 1 to 4 of 4

Copy One Sheet From One Closed Workbook To Another Closed WB

  1. #1
    Registered User
    Join Date
    05-22-2009
    Location
    UK
    MS-Off Ver
    Excel 2000,2003 and regretably 2007
    Posts
    77

    Copy One Sheet From One Closed Workbook To Another Closed WB

    I have a system that recieves updates on a regular basis however every time an update is released a fresh install is required due to a setup sheet - however i have worked out if i copy the setup sheet and paste it into the new version everything works fine the issue i have is copying said setup sheet

    i wish to automate the process by using vba to copy the sheets the vba code will be in a totaly seperate workbook - ideally with the other 2 workbooks closed

    i tried using

    Please Login or Register  to view this content.
    but for some reason it wont work

    can somebody please advise me

    teshi...

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Copy One Sheet From One Closed Workbook To Another Closed WB

    I;m not clear why the code needs copying, but you will need to open the workbooks.

    Can you explain exactly what you are attempting
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    05-22-2009
    Location
    UK
    MS-Off Ver
    Excel 2000,2003 and regretably 2007
    Posts
    77

    Re: Copy One Sheet From One Closed Workbook To Another Closed WB

    i have 20 standalone PCs that all need to run the same version of a excel workbook - there is one sheet that contains setup info e.g. their printers, file save location, and email address for their PC - it is very time consuming to carry out an update on these 20 machines as i asked earlier for the Internet connection test code i will be using VBA to download the updated version of the sheet from the NET

    the issue then arrises with data on the setup sheet - i wish to copy this sheet from the previous version to the new version. thus maintaining all of the information that is hidden from the users view - i also wish to do all of the copying and updating from a seperate workbook.

    e.g.

    WB1 is the older version containing the setup sheet
    WB2 is the newer version - not containing the setup sheet
    WB3 will be my updater that will do the downloading and updating of WB2

    thanks for your help roy

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Copy One Sheet From One Closed Workbook To Another Closed WB

    Basically something like this
    Please Login or Register  to view this content.
    You will need both books open or code to open the workbooks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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