Increment excel formula by 1

前端 未结 4 910
醉话见心
醉话见心 2021-01-19 15:44

I\'m trying to copy and paste a few cells keeping the format and them ebing linked to a table.

Currently i have a table but i am referencing it from another sheet e.

4条回答
  •  感情败类
    2021-01-19 16:14

    ThisWorkbook.Sheets("Your_Sheet_Name").Range("A99999").End(xlUp).Offset(1, 0) 
    

    Modify the above code. What this is doing is selecting cell A99999 and then using the Ctrl and up arrow command to select the last row with a value and offsetting by one so it actually selects the cell below that. You can then paste whatever you want into that cell.

提交回复
热议问题