+ Reply to Thread
Results 1 to 2 of 2

Store/copy/save cell values to another workbook

  1. #1
    Registered User
    Join Date
    04-02-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    3

    Store/copy/save cell values to another workbook

    I am using the sub below to copy a set of cell values to worksheet "Klantenbestand" in the same workbook. However, I want to store worksheet "Klantenbestand" in a separate workbook. Is it possible to change the sub so that it saves the cell values to worksheet "Klantenbestand" in for instance "book2.xlsm"?

    I've got a hunch that a slight change in Sheets() should be the solution...

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Store/copy/save cell values to another workbook

    Is book2.xlsm a new workbook that the macro needs to create or is it an already existing workbook?

    Also, if its already existing, will it be open or should the macro open it?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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