+ Reply to Thread
Results 1 to 3 of 3

Copy data in other sheet, paste and save it in a new workbook.

  1. #1
    Forum Contributor
    Join Date
    04-23-2013
    Location
    India
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    227

    Copy data in other sheet, paste and save it in a new workbook.

    Hi Excel Gurus,

    Please help me with my problem.
    I have a button (in a userform), I just want to copy all the data of Sheet2 (which is in veryhidden) to a new workbook and save it in a directory: 'C:\data'. Filename will be 'Data_name' where 'name' is based on the value of combobox1. Also, whenever that filename where already saved, it will overwrite it.

    I've attached the workbook.
    Thank in advance Gurus!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    10-27-2012
    Location
    London
    MS-Off Ver
    Excel 2007-2010
    Posts
    59

    Re: Copy data in other sheet, paste and save it in a new workbook.

    Hi Siobeh,

    See attached. I have written the code you want but are you sure you want all the data from the very hidden sheet 2?

    I have commented every line. If you need any clarification let me know.

    BP
    Attached Files Attached Files
    Break_Point

  3. #3
    Forum Contributor
    Join Date
    04-23-2013
    Location
    India
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    227

    Re: Copy data in other sheet, paste and save it in a new workbook.

    Thanks BreakPoint! it works!

+ 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] Copy Data and paste it in new sheet and save new sheet as value of cell a2
    By VKS in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-03-2013, 08:55 AM
  2. [SOLVED] Copy/Paste Filtered Data To New Sheet In New Workbook.
    By ScotyB in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-13-2012, 09:10 PM
  3. how to copy excel sheet from one workbook and paste into another workbook, save it ?
    By dearnemo385 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-17-2012, 08:27 AM
  4. Macro to copy over and paste data in to a work sheet from a closed workbook
    By munkee in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-24-2009, 04:04 AM
  5. [SOLVED] Copy and paste data from one sheet to another in a single workbook
    By SITCFanTN in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-10-2006, 09:10 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