+ Reply to Thread
Results 1 to 5 of 5

Help write code to Import/Export worksheets

  1. #1
    Registered User
    Join Date
    05-18-2009
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    34

    Help write code to Import/Export worksheets

    Does anyone have time to write me a code to Import/Export worksheets?

    I would really appreciate it!

    Nothing fancy

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Help write code to Import/Export worksheets

    Your question is vague. This will copy the activesheet to a new workbook.

    Please Login or Register  to view this content.
    Give us some more inormation for more help You could try the macro Recorder

    http://www.excel-it.com/record_macro.htm
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    05-18-2009
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: Help write code to Import/Export worksheets

    Say I have a workbook, I want to Export only certain worksheets which I will Import into an "updated" version of the current workbook.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Help write code to Import/Export worksheets

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Registered User
    Join Date
    05-18-2009
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: Help write code to Import/Export worksheets

    Quote Originally Posted by shg View Post
    Please Login or Register  to view this content.
    Hey, it's Exporting fine, but I get an error at the end.

    Please Login or Register  to view this content.
    What do you think is causing the Debug error?

    Also, what would the code be for Importing?

+ 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