Share via

Automatically move a line

Anonymous
2018-04-16T16:32:31+00:00

How do I make a row automatically move down when I add information above it without right clicking and adding a line.  I want the bottom line to move down as I add information above it.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

6 answers

Sort by: Most helpful
  1. Charles Kenyon 167.8K Reputation points Volunteer Moderator
    2018-04-16T16:59:50+00:00

    In one workbook, I did write code to do this, predicated on the row being selected. That was because when the new row was created I wanted to insert certain information in the row by default and increment a counter.

    Was this answer helpful?

    0 comments No comments
  2. Charles Kenyon 167.8K Reputation points Volunteer Moderator
    2018-04-16T16:56:59+00:00

    Being a bit lazy, when I need to do this, I simply select the row, right-click and Insert a row above.

    Doing this, you need to be cognizant of any formulae to make sure that your new row is (or is not) included.

    Was this answer helpful?

    0 comments No comments
  3. Vijay A. Verma 104.9K Reputation points Volunteer Moderator
    2018-04-16T16:52:14+00:00

    Yes, Excel is designed to work like the way you have described in your post i.e. you will need to insert a row to move the bottom row down. There is no option to change this behavior (In Word or Notepad, if you press Enter, you move one line down unlike Excel)

    You must have heard about Macro. VBA code is that.

    What is the business need for this functionality which you are seeking? May be I can find some solution for your problem.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2018-04-16T16:47:49+00:00

    So your saying that Excel is not able to do this? and you have to write it into the program?  What is a VBA code?

    Was this answer helpful?

    0 comments No comments
  5. Vijay A. Verma 104.9K Reputation points Volunteer Moderator
    2018-04-16T16:41:48+00:00

    This can only be done through a VBA change event which will capture change event because of Enter key and will do the job.

    Please let me know if you me to write a VBA code for this.

    Was this answer helpful?

    0 comments No comments