+ Reply to Thread
Results 1 to 5 of 5

VBA for looping

  1. #1
    Registered User
    Join Date
    06-18-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    35

    VBA for looping

    Hi,

    I am new to vba. I want VBA to copy cell a1b1 and should be pasted in c1d1. In the same way, copy a2b2 and paste again only in c1d1. This should be repeated till data in column A B is present. I mean copy data from AB column and paste only in cell C1D1.

    thanks in advance

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: VBA for looping

    May be this.....
    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Registered User
    Join Date
    06-18-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    35

    Re: VBA for looping

    Hi sktneer,

    thanks for your response. Can I attach excel sheet for more clarification

    thanks

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: VBA for looping

    I think the code does exactly same as per your requirement in post#1. But if you have not explained your requirement well enough, upload a sample workbook along with the expected output filled manually and let me see if I can assist further.

  5. #5
    Registered User
    Join Date
    06-18-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    35

    Re: VBA for looping

    Hi sktneer,

    Please find attachment which has data and instructions in it

    thanks
    Attached Files Attached Files

+ 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 to use looping
    By gan_xl in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-18-2013, 08:49 AM
  2. Do Until Looping (not looping through all other columns)
    By orle8050 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-11-2013, 10:37 AM
  3. Little Looping
    By Stuie in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-18-2006, 06:14 AM
  4. Looping from 1 to 24
    By salooha in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-14-2005, 04:55 PM
  5. [SOLVED] Next For looping in a If
    By Jean-Jerome Doucet via OfficeKB.com in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-12-2005, 03:05 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