+ Reply to Thread
Results 1 to 9 of 9

Copy in range from one wb to another from a cell in column A with a spesific word

  1. #1
    Forum Contributor
    Join Date
    02-27-2015
    Location
    Norge
    MS-Off Ver
    2019
    Posts
    570

    Copy in range from one wb to another from a cell in column A with a spesific word

    Hello

    How to copy all above a cell in column A contain the word sum "Sum the above items" is the whole word in range A10:I, i use this this vba to day and have some plan with another wb


    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Copy in range from one wb to another from a cell in column A with a spesific word

    Hi, you would already make more progress if you change this line:
    Please Login or Register  to view this content.
    And in the rest of your coding: Formats are not passed on into arrays....
    Cheers
    Erwin
    Last edited by Eastw00d; 06-07-2020 at 07:52 AM.
    I started learning VBA because I was lazy ...
    Still developing.... being more lazy...

  3. #3
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: Copy in range from one wb to another from a cell in column A with a spesific word

    Not sure if this is what you want...
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    02-27-2015
    Location
    Norge
    MS-Off Ver
    2019
    Posts
    570

    Re: Copy in range from one wb to another from a cell in column A with a spesific word

    Hello

    Thanks, i was not think clear, i must copy from a different wb as here in the attacment

    I will copy data from wb Prisoverslag various date after Prisoverslag and Column B62 this time, and B66 have a name Sum this time

    paste it in wb E.A B8
    Attached Files Attached Files

  5. #5
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: Copy in range from one wb to another from a cell in column A with a spesific word

    Possibly...
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    02-27-2015
    Location
    Norge
    MS-Off Ver
    2019
    Posts
    570

    Re: Copy in range from one wb to another from a cell in column A with a spesific word

    Hello

    Thank you, i get an error 1004

    It say it can not find the file Workbooks.Open "Prisoverslag . 07-jun-2020.xlsx"

    And this file will get new name tomorrow, Prisoverslag. 08-jun-2020.xlsx, so filename will get various except "Prisoverslag"

  7. #7
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: Copy in range from one wb to another from a cell in column A with a spesific word

    This will let you choose the file to open...
    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    02-27-2015
    Location
    Norge
    MS-Off Ver
    2019
    Posts
    570

    Re: Copy in range from one wb to another from a cell in column A with a spesific word

    Hello

    Thank you Works like a charm

  9. #9
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: Copy in range from one wb to another from a cell in column A with a spesific word

    Great to hear!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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. [SOLVED] copy the word within the cell of a column and paste in other cell of column
    By anuwers in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 06-12-2020, 06:19 PM
  2. Replies: 3
    Last Post: 03-20-2018, 03:22 PM
  3. [SOLVED] Copy horizontal range and paste into other sheet if column contains word
    By mangesh.mehendale in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-20-2015, 03:43 AM
  4. [SOLVED] how to search for a spesific word with in a cell and display in the next cell (HELP!!!!)
    By singer.joseph in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-27-2013, 05:30 AM
  5. Extracting words after and before a spesific word
    By Bandini in forum Excel General
    Replies: 4
    Last Post: 04-12-2012, 03:52 AM
  6. Copy/move a word from a cell in a column to another column and autofill
    By excelaspire0219 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-05-2009, 03:54 PM
  7. Find word in column and copy cell to the right
    By dariushou in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-24-2008, 05:40 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