+ Reply to Thread
Results 1 to 3 of 3

Copy and paste massive data

  1. #1
    Registered User
    Join Date
    03-05-2007
    Posts
    23

    Copy and paste massive data

    Hello!



    Excel Marco is very new to me. I have some knowledge in VBA but nothing extensive. I have a massive data in excel that have 58+ worksheets.

    We are in the process of doing our annual reviews, I have to run the excel report called Annual 12x’s and generate a workbook called Table1_2006 - Table58_2006, in each workbook it have 12worksheets called “Jan,Feb,March..etc”

    Here is what I found and it seen to work but it copy the whole worksheet I only need to copy a range and text box (footnote) that I have, also my computer is super slow, is there a way to copy one workbook and close and open another workbook?

    Please Login or Register  to view this content.
    any help will be greatly greatly Greatly appreciated !

    CThai

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    with FNames = Dir("table01_2006.xls")
    your are limiting the dir command to only search for the 1specific file which means FNames = Dir() will not find any more files.

    You need to use wildcards in your initial DIR command
    Please Login or Register  to view this content.
    As for copying only a range from each sheet that can be done.

    Copy a range values only - no formatting copied
    Please Login or Register  to view this content.
    Copy a range including formatting
    Please Login or Register  to view this content.
    As for copying text box try something along this line
    Please Login or Register  to view this content.
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  3. #3
    Registered User
    Join Date
    03-05-2007
    Posts
    23
    Thanks! I will give this a try and praying that it will work!

+ 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