+ Reply to Thread
Results 1 to 2 of 2

Excel 2010, macro button to export data to another workbook

  1. #1
    Registered User
    Join Date
    09-18-2013
    Location
    Ipswich, Engalnd
    MS-Off Ver
    Excel 2007
    Posts
    1

    Excel 2010, macro button to export data to another workbook

    Hi All

    I had considered myself a bit of an excel pro until I recently began trying use VBA again, amazing how much you can forget in 10 years.

    Im trying to insert a macro button to export data when clicked, say between C1:C10 in book 1 and export the data to another workbook, say Book2 but exports the data into rows a3:j3. The original data in book 1 is also cleared. One issue I've found potentially is that the data would need to be placed in the row after the previous entry so it does not clear previous exported data.

    I've come across a similar workbook before so I know it is possible but can't figure it out.

    Any help with this would be great

    Ben

  2. #2
    Forum Contributor
    Join Date
    09-11-2013
    Location
    Huntsville, AL
    MS-Off Ver
    Excel 2007
    Posts
    180

    Re: Excel 2010, macro button to export data to another workbook

    Ben are you having a problem creating a button, or creating the macro. For adding buttons, you need to add the developer ribbon and in there there will be a tool box. If you are needing help writing the macro it would be something like this:

    Please Login or Register  to view this content.
    This is a copy of code that I recently used... it only gives you the principle without an actual example

+ 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. Macro to export tasks from MS Project to Excel 2010
    By desibabuji in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-26-2012, 01:37 AM
  2. I would need a macro to export data from base example workbook to export worbook
    By slato8 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-01-2012, 11:21 AM
  3. Populating an Excel 2010 Sheet using a macro button which will find the correct data?
    By dewhirstn in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-18-2012, 09:14 AM
  4. Export data from notepad to Excel 2010
    By darkhorse11 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-19-2011, 04:20 AM
  5. Excel 2007 : Button on Workbook to export data to Text file?
    By NewYears1978 in forum Excel General
    Replies: 3
    Last Post: 03-30-2010, 05:48 PM

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