+ Reply to Thread
Results 1 to 6 of 6

How to copy & paste multiple ranges by using VBA Code?

  1. #1
    Registered User
    Join Date
    11-15-2016
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    17

    Question How to copy & paste multiple ranges by using VBA Code?

    How to copy & paste multiple ranges to multiple columns by using VBA Code in excel ?

    the code must copy the range [ c9:c30 ] to column 3 & range [ h9:h30 ] to column 9


    the code must copy to the next empty row in the other sheet

    the code must only copy the data and ignore the empty rows


    all i have is this code any suggestions ?

    Please Login or Register  to view this content.
    Last edited by toradoya; 12-03-2016 at 07:02 PM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: how to complete this VBA Code ?

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: how to complete this VBA Code ?

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Click on Edit to open your thread, 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

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)

  4. #4
    Registered User
    Join Date
    11-15-2016
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    17

    Re: how to complete this VBA Code ?

    your requests are fulfilled, will you please help me, also if there are more request i will be happy to solve them sorry for the trouble
    Last edited by toradoya; 12-03-2016 at 06:08 PM.

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: How to copy & paste 2 columns by using VBA Code?

    For copy, try selecting two columns:

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    11-15-2016
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    17

    Re: How to copy & paste 2 columns by using VBA Code?

    Quote Originally Posted by zbor View Post
    For copy, try selecting two columns:

    Please Login or Register  to view this content.
    its not working, i need to copy two ranges to two columns
    Last edited by toradoya; 12-03-2016 at 08:42 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. Need a code to only continue to another VBA if cells are complete.
    By k1989l in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-05-2015, 07:32 AM
  2. Help me complete this copy paste code
    By booost in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 02-15-2012, 09:02 AM
  3. Macro code error: code is near complete
    By kashshaikh in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-17-2011, 03:22 PM
  4. Alert that module code is complete?
    By Redline in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-21-2009, 03:22 AM
  5. Complete the project of Posting VBA Code
    By helmekki in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-17-2007, 10:05 AM
  6. [SOLVED] Time to complete code/function
    By John in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-02-2006, 02:35 PM
  7. Reading complete Excel using DDE code
    By amitkrsingh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-19-2005, 10:05 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