+ Reply to Thread
Results 1 to 4 of 4

Help with copy certain data from one sheet to another

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

    Help with copy certain data from one sheet to another

    Hello

    I try to understand how things works, and need a little bit help

    I have this vba from Jolivanes here at this board he help me yesterday, Now i try to modify it to use in another wb, i try to copy column from sheet2, Column JQ to JW row 18 + KS and KT to Sheet 1 Column A-G and I-J row 9

    i counted JQ to 277 but i did not sucsess

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by dodde; 05-24-2020 at 03:49 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    06-22-2018
    Location
    Blackpool, England
    MS-Off Ver
    2019
    Posts
    408

    Re: Help with Column/ rows counting

    I'm not sure how your subject relates to the actual question, you do realise you can write
    Please Login or Register  to view this content.
    to avoid having to count the columns?

    Anyway, just try something like this
    Please Login or Register  to view this content.
    Be aware, however, that if you use the "Copy" method, any relative cell references will be adjusted to their new location. Personally, I'd use the "xxx.value = yyy.value" method & pre-format those cells the values are going into if necessary.

    Looking at the original code, I see there are reference errors "#REF" on your worksheet. That may be a result of using the "xxx.copy" method.

    Tim
    Never stop learning!
    <--- please consider *-ing !

  3. #3
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,175

    Re: Help with Column/ rows counting

    One way...
    Please Login or Register  to view this content.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

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

    Re: Help with Column/ rows counting

    Hello

    Thanks you both,
    Last edited by dodde; 05-24-2020 at 03:49 PM.

+ 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] Providing max value when counting rows between two values in a column
    By JimmyRicard in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-16-2018, 03:19 PM
  2. Replies: 11
    Last Post: 08-11-2015, 04:16 PM
  3. Replies: 5
    Last Post: 04-07-2015, 07:46 PM
  4. Counting variance of last 50 rows in a column
    By Mally in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-21-2012, 03:50 PM
  5. Counting the number of rows in Column B for a given row in Column A
    By ssaifull in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-16-2010, 09:50 PM
  6. Counting rows in Pivot table column
    By nailers67 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-08-2006, 02:10 PM
  7. Counting rows in a column
    By Mar in forum Excel General
    Replies: 2
    Last Post: 12-05-2005, 05:30 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