+ Reply to Thread
Results 1 to 3 of 3

Copy active cells from one column as a sequence in another cell

  1. #1
    Registered User
    Join Date
    05-15-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    2

    Copy active cells from one column as a sequence in another cell

    Hello,

    I am totaly new to VBA and guess I need to write a code for the problem.
    I have two columns, say A and B. I need to copy value (text) from A only if B is active. The copy from all "active" cells in A shall be pasted in another cell on the same Sheet as a sequence, with ";" or "," between values.

    So I was thinking something like this

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

    I hope some of you understand what you mean.

    Many Thanks!
    Last edited by arlu1201; 05-21-2013 at 03:59 AM.

  2. #2
    Registered User
    Join Date
    05-15-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Copy active cells from one column as a sequence in another cell

    Now I figured it out. Problem is solved. I am sure it is possible to write a shorter code, but I am happy with the one that works.

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Copy active cells from one column as a sequence in another cell

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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