+ Reply to Thread
Results 1 to 2 of 2

Command Button used to copy columns from one sheet to another while transposing

  1. #1
    Registered User
    Join Date
    10-23-2018
    Location
    north carolina
    MS-Off Ver
    10
    Posts
    1

    Command Button used to copy columns from one sheet to another while transposing

    Hi All,

    Starting to learn how to write macros and would love some help with this problem I am attempting to figure out.

    My data looks like:

    EmployeeName EmployeeID Department Location TaxYear QualifiedPercent
    Donald Duck 10001 Accounting Denver 2008 .5
    Jim Thome 10002 Finance Atlanta 2009 .2
    Donald Duck 10001 Accounting Denver 2010 .7
    JJ Watt 10003 HR Houston 2008 .2

    I would like the user to be able to click a command button and have this data copied over to a new sheet but in this new format (Tax Year becomes column with new value the qualifying percent field):

    EmployeeName EmployeeID Department Location 2008 2009 2010
    Donald Duck 10001 Accounting Denver .5 0 .7
    Jim Thome 10002 Finance Atlanta 0 .2 0
    JJ Watt 10003 HR Houston .2 0 0

    Thanks in advance!

  2. #2
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: Command Button used to copy columns from one sheet to another while transposing

    Could you please provide this data in excel file not like messages.
    Regards,
    Thangavel D

    Appreciate the help? CLICK *

+ 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. Command Button to copy data to second sheet
    By testacco1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-20-2017, 05:39 PM
  2. [SOLVED] Command button to copy cells from one sheet and paste in second sheet
    By waratdenison in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-22-2014, 02:53 PM
  3. [SOLVED] copy selected row and paste it to another sheet command button vba
    By KK1234 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-22-2014, 03:22 AM
  4. Copy data from rows to columns using vba/command button?
    By mrjinx007 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-05-2013, 02:02 PM
  5. [SOLVED] command button: specified sheet copy and save as new workbook to specified location
    By Zlatko.Pan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-15-2013, 12:28 PM
  6. Copy sheet and command button along with code to new workbook
    By sglavan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-30-2012, 10:18 AM
  7. Command button copy selection to another sheet
    By hlester in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-09-2009, 03:11 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