+ Reply to Thread
Results 1 to 4 of 4

copy the content from below

  1. #1
    Forum Contributor
    Join Date
    02-07-2011
    Location
    Bhutan
    MS-Off Ver
    Excel 2007
    Posts
    244

    copy the content from below

    Hi Friends,

    Wish you all a Merry Christmas and a Prosperous New Year.

    I was wondering if somebody could help me with a VBA code that will copy the content from the lower cell and paste in the upper cell and then delete the content of the below cell. Means I select few cells vertically(of which the top cell is always empty), and run the code and the code search that region and transfers the content in that region only.

    I am attaching a example sheet for your reference.

    Thanks for all your help.

    Best regards,
    me
    Attached Files Attached Files

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: copy the content from below

    Hi, fatalcore,

    as long s there will always only be one value in the selection the code may be simplified (just one attempt to solve):

    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: copy the content from below

    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved

  4. #4
    Forum Contributor
    Join Date
    02-07-2011
    Location
    Bhutan
    MS-Off Ver
    Excel 2007
    Posts
    244

    Re: copy the content from below

    Perfect ! both works like a charm ! thanks friends.
    Best regards,
    me

+ 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