+ Reply to Thread
Results 1 to 2 of 2

Export worksheet into new workbook and save file

  1. #1
    Registered User
    Join Date
    02-06-2013
    Location
    nunya
    MS-Off Ver
    Excel 2010
    Posts
    9

    Export worksheet into new workbook and save file

    Okay this is a difficult task. The goal is to export an active worksheet with specific range of cells to a new workbook and save the file. I have stumbled across code that does what I want but does not retain the formatting I have setup and requires that I direct it to a specific file path. I do not know the file path of the client I am creating this for and so would like to save in the same file as the existing workbook. This is currently set to execute on a command button click. The code I have now works but not as well as I would like it to. There is also the matter of saving a file with macros which is what I need to do with this and the xlsm extension accomplishes this. I know this is a great forum and any help would be appreciated!

    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: Export worksheet into new workbook and save file

    What do you mean by its not working as well as you want it to? Which parts are not working?
    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)

Tags for this Thread

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