+ Reply to Thread
Results 1 to 7 of 7

Alter Code to Copy & Paste from a Drop down listl to a Specified Range

  1. #1
    Registered User
    Join Date
    04-08-2012
    Location
    Kansas, U.S
    MS-Off Ver
    Excel 2010
    Posts
    93

    Alter Code to Copy & Paste from a Drop down listl to a Specified Range

    Hello All,

    Tried altering this Code to do the following but my knowledge is still limited with VBA so could someone give me a hand and alter this code to:

    Look at the Combined Data Tab in Column "C: for a specific Word that will be located on Sheet1 Cell "C20" then "copy & paste" including all Source Font to Sheet1 starting at A23

    Please Login or Register  to view this content.
    Thanks Again
    Aeneren

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: Alter Code to Copy & Paste from a Drop down listl to a Specified Range

    Try this...

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    04-08-2012
    Location
    Kansas, U.S
    MS-Off Ver
    Excel 2010
    Posts
    93

    Re: Alter Code to Copy & Paste from a Drop down listl to a Specified Range

    AlphaFrog,

    Thanks for your reply but i forgot to mention there is already code present and i think what i have and yours are causing an error ??

    This is the WB i have been using for the testing


    Aeneren
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    04-08-2012
    Location
    Kansas, U.S
    MS-Off Ver
    Excel 2010
    Posts
    93

    Re: Alter Code to Copy & Paste from a Drop down listl to a Specified Range

    Ok, got the following code to work, Had to change couple things but it does work now.

    It looks at Cell "B42" and pulls all Lines from "Combined Data" with the Key word from "B42"

    It Pastes the information onto "Main Gear" starting in Cell "B44"

    Now the Problem the Main Gear Tab is set up little different and im wondering if there is a way to skip a Column when it paste onto Main Gear

    So paste in Column B, D:R (skiping Column "C")or
    Clear the contents from "C44" and the Column "C" information it just pasted, and as the information it copy's could be 2 lines or 20 plus some how know how far to clear down.

    Please Login or Register  to view this content.
    Aeneren

  5. #5
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: Alter Code to Copy & Paste from a Drop down listl to a Specified Range

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    04-08-2012
    Location
    Kansas, U.S
    MS-Off Ver
    Excel 2010
    Posts
    93

    Re: Alter Code to Copy & Paste from a Drop down listl to a Specified Range

    AlphaFrog,

    Thank you, works like a charm

    Reputation Added

    Aeneren

  7. #7
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: Alter Code to Copy & Paste from a Drop down listl to a Specified Range

    You're welcome and thanks for the feedback.

+ 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. code to alter 3 cells through range of % reductions and paste dependant cell results
    By j.farr3ll in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-26-2015, 05:25 PM
  2. Copy & paste special to alter formula
    By rawcowan in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-29-2014, 03:19 PM
  3. Replies: 7
    Last Post: 07-04-2014, 05:34 AM
  4. [SOLVED] Alter Code for Copy and Paste of Data to Created New Sheets.
    By Ortz in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-04-2014, 10:32 PM
  5. VBA code to copy paste a range based on a condition
    By rshnkmr39 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-18-2014, 04:29 AM
  6. [SOLVED] Copy and paste cells of relative position ,then copy to others w'o alter
    By lokwungkwung in forum Excel General
    Replies: 14
    Last Post: 10-29-2013, 01:09 PM
  7. CheckBox Code to copy & paste range
    By Casey in forum Excel General
    Replies: 0
    Last Post: 10-13-2005, 12:32 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