+ Reply to Thread
Results 1 to 5 of 5

Can someone please review my Macro and fix the issue of copy/paste data from 2 sheets

  1. #1
    Registered User
    Join Date
    02-12-2020
    Location
    USA
    MS-Off Ver
    2016
    Posts
    12

    Can someone please review my Macro and fix the issue of copy/paste data from 2 sheets

    Hello All, Happy New Year!

    I was wondering if a more experienced VBA/Macro can help assist me in fixing a macro that I recorded. Basically the issue is I am transferring data columns from one sheet to another. Data on sheet "POPO" will be copied and pasted to sheet "DATA_INPUT. I will be taking columns A, B, C, D, E, and H, will paste them into the new sheet. The issue I am running into is, many times the original sheet data will be missing values in certain cells, specifically column B in original tab only transferring over small of data to the new tab (column D). I believe this is due to the missing values in cells which causes the copying and pasting to stop at the missing cell.

    if anyone asks, this is a repetitive report that I manually process 10-15 a day. I am hoping that macro can automate this process so I can concentrate on other reports. The original data size will vary.

    Original sheet: POPO
    New Sheet: DATA_INPUT



    Macro



    Please Login or Register  to view this content.
    Last edited by MacroNewbie36; 01-19-2021 at 11:25 AM.

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: My MACRO needs help

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)

  3. #3
    Registered User
    Join Date
    02-12-2020
    Location
    USA
    MS-Off Ver
    2016
    Posts
    12

    Re: My MACRO needs help

    my apology.

    Please Login or Register  to view this content.

  4. #4
    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,894

    Re: My MACRO needs help

    Administrative Note:

    Sorry, but ...

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    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.

  5. #5
    Registered User
    Join Date
    02-12-2020
    Location
    USA
    MS-Off Ver
    2016
    Posts
    12

    Re: My MACRO needs help

    Hello, is this better? My apology for the not following the forum rules.

+ 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] Dynamic macro name / Concatenating macro name / Call a string variable as a macro name
    By vwhite in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-18-2020, 03:36 AM
  2. [SOLVED] macro showing error ( macro not found ) while trying to execute macro every 1 minute
    By prabhuduraraj09 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-16-2018, 07:58 PM
  3. [SOLVED] Define variable in macro than calling that macro inside another macro
    By jakopak in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-21-2015, 10:58 AM
  4. [SOLVED] Macro to show Which macro didnt work in a nested macro
    By akhileshgs in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 06-10-2013, 03:21 AM
  5. Perform macro "on open" specific file- store macro in Personal Macro Workbook?
    By thompssc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-17-2012, 12:38 PM
  6. lookup macro, solver macro, realtime macro
    By xelhelp in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-02-2011, 06:14 PM
  7. Cannot find macro error when running a macro from a macro in a diffrent workbook.
    By Acrobatic82 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-05-2010, 09:22 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