+ Reply to Thread
Results 1 to 3 of 3

Saving filename with content from a cell error

  1. #1
    Registered User
    Join Date
    12-13-2010
    Location
    england
    MS-Off Ver
    Excel 2010
    Posts
    3

    Saving filename with content from a cell error

    Hi

    I have a problem with a Autosave marco. the issue is that after copying and pasteing from one sheet to a new one all 22,663 lines are on the new sheet how ever when the sheet save's and closes nearl 10,000 of data are missing please can you advise.
    Please Login or Register  to view this content.
    Please note this marco is looped so generate customer files
    Last edited by Leith Ross; 12-29-2010 at 02:07 PM.

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Saving filename with content from a cell error

    Hello friend,

    I tried to figure out what you have going on from your recorded macro. When I run it on a test workbook with some random data in sheet "CLP 5" It transfers over just fine to a new workbook. BTW I update your code to be.......less cumbersome. Here it is:
    Please Login or Register  to view this content.
    The only reason why you may not have the data there is you will get a pop up box asking if you want to save your data after the ActiveWindow.Close command. Click yes. Let me know how this works for you.

  3. #3
    Registered User
    Join Date
    12-13-2010
    Location
    england
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Saving filename with content from a cell error

    I have removed the ActiveWindow.Close and it now saves all the data I just have to close 40 odd sheets when the macro has finnished

+ 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