+ Reply to Thread
Results 1 to 4 of 4

Macro to import specific data columns

  1. #1
    Registered User
    Join Date
    04-29-2013
    Location
    Denmark
    MS-Off Ver
    Excel 2010
    Posts
    15

    Macro to import specific data columns

    Hi Everyone,

    I am completely new to this macro thing, so keep this in mind when answering

    I am trying to import 4 colums from one spread sheet into another by preferably clicking one bottom in the template (or 4) and picking the file to import from.

    I need to import col B into col C (in the template), col N into col F (in the template), col S to col K (in the template) and col AD to col O (in the template).

    Found this code somewhere so this is where I start...

    Please Login or Register  to view this content.
    I really hope someone can help me with this

    Best regards

    Lonnie

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Macro to import specific data columns

    Hello La82,

    This macro will let you choose a workbook to open, either an XLSX or XLSM. The active sheet of the opened workbook will be copied to the active sheet of the workbook containing the macro.

    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    04-29-2013
    Location
    Denmark
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Macro to import specific data columns

    That works - thank you so much

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Macro to import specific data columns

    Hello La82,

    You're welcome.

+ 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. Identical Columns in Different Sheets, Data-Import (Possible Macro)
    By RJA_VB in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-13-2014, 03:39 PM
  2. Excel Macro to Import Specific Data from Txt File
    By Niklasfirst in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-22-2013, 12:41 PM
  3. Macro to import data from specific columns form csv and rearrange
    By tonyrobbo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-21-2013, 02:01 PM
  4. Macro to copy specific data to specific columns from a pivot table
    By Raju Radhakrishnan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-09-2012, 07:24 PM
  5. Replies: 0
    Last Post: 10-19-2011, 10:17 PM
  6. Import Data Macro (not-overwriting certain columns)
    By MasterMonk in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-19-2007, 11:38 AM
  7. import data to specific columns
    By marlea in forum Excel General
    Replies: 1
    Last Post: 08-11-2005, 10:05 PM

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