Results 1 to 5 of 5

Excel 2007. Macro to move data based on dropdown list.

Threaded View

D_N_L Excel 2007. Macro to move... 02-10-2012, 09:34 AM
buran Re: Excel 2007. Macro to... 02-10-2012, 10:18 AM
D_N_L Re: Excel 2007. Macro to... 02-10-2012, 10:21 AM
buran Re: Excel 2007. Macro to... 02-10-2012, 10:42 AM
D_N_L Re: Excel 2007. Macro to... 02-10-2012, 10:52 AM
  1. #1
    Forum Contributor
    Join Date
    08-23-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    404

    Excel 2007. Macro to move data based on dropdown list.

    Hi all,

    I have attached an example workbook (2007) of the solution I’m after. There are 3 sheets.

    In Sheet 1 - the user will enter numeric data in cells B2:J2 (highlighted in green). Then they would click the command button which would then enter this data into Sheet 2 into the appropriate row. The appropriate row is defined by whatever ‘Organisation’ they have chosen from the dropdown list on Sheet 1 (cell A2). In this example it is ‘Organisation 5’. Once the user clicks the command button I would like the data on Sheet 1 to vanish (and the dropdown list to revert to ‘Organisation 1’ so that they can continue to enter more data).

    The last part of this is that the user, at a later date, may be required to enter more and more data for Organisation 5 (for example). If this happens then I would like the data to be put below any previous data for that organisation (as shown in Sheet 3) – the new row is highlighted in orange.

    I need code for the command button which achieves the above - can anyone help please?
    Attached Files Attached Files
    Last edited by D_N_L; 02-10-2012 at 10:52 AM.

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