+ Reply to Thread
Results 1 to 4 of 4

How to copy few columns from existing book to a new excel book when a button is pressed ?

  1. #1
    Registered User
    Join Date
    12-06-2012
    Location
    malaysia
    MS-Off Ver
    Excel 2007
    Posts
    7

    How to copy few columns from existing book to a new excel book when a button is pressed ?

    Hi,

    I'm very new to macro, need help to copy few columns (say A, B and C) in the file below (too many columns!!! ) to a new book using macro. Please help

    COPYColumnstoNewbook.xlsx

    Thank you very much!

  2. #2
    Forum Guru
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: How to copy few columns from existing book to a new excel book when a button is presse

    hi annice, option to make it, press Run button or run code "test"
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    12-06-2012
    Location
    malaysia
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: How to copy few columns from existing book to a new excel book when a button is presse

    Thank YOu!!!!!!!

    Last question on how do i select a particular column to be copied? say column A, C, S, AU, etc..

  4. #4
    Forum Guru
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: How to copy few columns from existing book to a new excel book when a button is presse

    please check attachment, press Run button or run code "test"
    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)

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