+ Reply to Thread
Results 1 to 2 of 2

Drop down list loop, copy and paste updated values from a worksheet to a new workbook.

  1. #1
    Registered User
    Join Date
    10-17-2018
    Location
    India
    MS-Off Ver
    2010
    Posts
    1

    Drop down list loop, copy and paste updated values from a worksheet to a new workbook.

    Hi, I have never used VBA before.

    I am trying to automate a process for which I have created a simple example to get help.

    I have a drop down list in Sheet1, Cell "A3" with values 1, 2 and 3.
    The values in Sheet 2, Range B3:B5 forms accordingly.
    The formulas used in Sheet2 are as follows:
    B3: =IF(B4=5,"Base",IF(B4=10,"Scenario 1","Scenario 2"))
    B4: =Sheet1!A3*5
    B5:*=Sheet1!A3*10

    Now what I want is for Sheet1 drop down to run on a loop and the entire updated Sheet2 along with all formats to get copied in a new workbook.

    I also wanted the name of the Sheet in the new workbook to be whatever the value is in Sheet2, Cell B3 (Base, Scenario 1 and Scenario 2).

    This is a recurring activity with much larger data and I could really use the help of a VBA code.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Drop down list loop, copy and paste updated values from a worksheet to a new workbook.

    Welcome to the forum!

    Please be aware that our forum rules instruct you to tell us where else you have posted the same question. As a courtesy, I shall post a link for your this time, but you must do this yourself in future.

    https://www.mrexcel.com/forum/excel-...-workbook.html

    If you have asked this query anywhere else, you MUST tell us. Thank you
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Loop through drop down and copy/paste values
    By dchiburg in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-31-2016, 12:10 PM
  2. Loop Find Last instance of Values in another Worksheet - then Copy & Paste
    By smartbuyer in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-14-2016, 07:30 PM
  3. copy & paste range from worksheet to first empty row in a list in another workbook
    By birdgirl in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-22-2015, 01:35 PM
  4. Copy and paste values without including the drop-down list
    By Utz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-15-2014, 12:14 PM
  5. Replies: 1
    Last Post: 05-14-2014, 12:52 AM
  6. Copy & Paste Values of each worksheet into new workbook
    By aserle in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-11-2013, 03:42 PM
  7. Copy and paste updated information from a Workbook to the same workbook
    By Vadimchik in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-13-2013, 04:49 AM

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