+ Reply to Thread
Results 1 to 4 of 4

Copy specific columns and save into another workbook

  1. #1
    Forum Contributor
    Join Date
    08-07-2008
    Location
    United States
    MS-Off Ver
    Microsoft Office 2003
    Posts
    362

    Copy specific columns and save into another workbook

    Hi,

    I would like to know how do I go about copying specific columns and save it to another workbook. I have a worksheet with 31 columns. I have a Userform too. On my Userform, I have 2 textbox and 1 command button. Textbox 1 is use to enter the start column to copy and Textbox 2 contains end column to copy. click on command button and it will generate the results of copying. Anyone can help me about this?

    Thanks,

    Stoey
    Attached Files Attached Files
    Last edited by stoey; 09-12-2008 at 11:45 AM. Reason: Attached sample workbook

  2. #2
    Forum Contributor
    Join Date
    03-28-2008
    Location
    India, bangalore
    MS-Off Ver
    Excel 2003,2007
    Posts
    216

    Hi

    Check this thread,
    check for richards reply,
    http://www.excelforum.com/excel-prog...mns-forms.html

    from this u can select columns which you want to copy to another sheet, from there you can save only that sheet as a file...

    Arvind

  3. #3
    Forum Contributor
    Join Date
    08-07-2008
    Location
    United States
    MS-Off Ver
    Microsoft Office 2003
    Posts
    362
    Hi Arvind,

    Thank you very much for the info. I did check richard's sample file and seemingly I can make use of the extract example. However, I would like to have the extracted file be automatically computed. Like if I extract column Sep 1 to Sep 5, I would like to total the value from each row. Any idea on how to do that?

    Thanks,

    Stoey

  4. #4
    Forum Contributor
    Join Date
    08-07-2008
    Location
    United States
    MS-Off Ver
    Microsoft Office 2003
    Posts
    362
    Hi,

    Can someone help me on copying the contents of the column selected? The file works by extracting the selected columns from a different worksheet. My problem is the dates selected are being extracted exept for the contents. I would like all information to be extracted including the dates and the contents of every column selected.

    Thanks,

    Stoey
    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. Copy worksheets to new workbook
    By Edward HS in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-29-2008, 07:16 PM
  2. Auto-unhiding of columns in shared workbooks
    By That_guy@Work in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-15-2008, 10:35 AM
  3. Copy Data to New Workbook based on Criteria
    By jimbean in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-05-2008, 03:06 AM
  4. Macro - Collect data - Select folder and loop through all xls files
    By kostas in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-04-2008, 05:58 AM
  5. click to copy cells and save sheet as
    By Jlong1980 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-01-2006, 04:06 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