+ Reply to Thread
Results 1 to 3 of 3

Cell Value to be copied to upper cell

  1. #1
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Cell Value to be copied to upper cell

    Assume I have a Value in Cell A1 & A2 (A1 = 123 & A2 = ABC)

    I want to write a code where I can Copy the contents of cell A2 and concatenate it with cell A1 with a space in between.

    For example if I run the macro considering the above example, my output in cell A1 should be 123 ABC.

    Here A1 & A2 were examples. These cells can be anywhere on the sheet. But the offset will always remain of 1 row between both cells.

    Can anyone suggest a way I can do that?
    Cheers!
    Deep Dave

  2. #2
    Forum Contributor
    Join Date
    06-23-2010
    Location
    Iowa, United States
    MS-Off Ver
    Excel 2007
    Posts
    145

    Re: Cell Value to be copied to upper cell

    Hello,

    Give this a try:

    Please Login or Register  to view this content.
    It will concatenate whatever cell you have currently selected. Cheers.

    Steve
    A VBA novice, excited to learn!

  3. #3
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Cell Value to be copied to upper cell

    Perfect.

    Marking the thread as solved!

+ 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