+ Reply to Thread
Results 1 to 3 of 3

Macro to Export Variable columns from One Excel Work Sheet to another

  1. #1
    Registered User
    Join Date
    05-15-2013
    Location
    Hyderabad
    MS-Off Ver
    Excel 2003
    Posts
    39

    Smile Macro to Export Variable columns from One Excel Work Sheet to another

    Hi All,
    I am a started in VBA, Please any help in regards is uch appreciated,

    I have a work sheet as Data Base with data such as Name, Age, Process, Education and so on,
    And I am in need of a macro code with User Form and ComboBox so that I can export any selected columns to a new worksheet using ComboBox.

    Please help.
    Thanks

  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: Macro to Export Variable columns from One Excel Work Sheet to another

    Do you have a sample file that you can upload?

    To Attach a File:

    1. Click on Go Advanced
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.
    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]

  3. #3
    Registered User
    Join Date
    05-15-2013
    Location
    Hyderabad
    MS-Off Ver
    Excel 2003
    Posts
    39

    Re: Macro to Export Variable columns from One Excel Work Sheet to another

    Hi arlu1201,

    Please find the attahcement of a sample copy that you were looking.

    Out of which what I was looking is, I should be able to export any specific column (Variable) with row data Specification

    Such as If I want to export only that data with Column A, B and D and that too only rows with P&S in Column D.

    And in this example the export file must be with only one row i.e Row No:3 and 3 columns i.e. A, B and D.

    Please help me arlu1201.

    Any help in regards is much appreciated.
    Attached Files Attached Files

+ 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. Last 8 columns to export to a new sheet
    By kishoremcp in forum Excel Programming / VBA / Macros
    Replies: 31
    Last Post: 08-21-2013, 07:19 AM
  2. macro to export data from excel sheet to powerpoint.
    By rameshk021 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-10-2013, 09:21 AM
  3. macro for copying one sheet to a new separate excel work sheet
    By Shweta.Kapdekar in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-08-2012, 02:44 AM
  4. Replies: 2
    Last Post: 07-11-2006, 11:15 PM
  5. [Macro excel] How to create and export a sheet into a *.inp (or *.txt) file
    By MrKermit in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-11-2006, 03:30 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