ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   macro in excel (https://www.excelbanter.com/excel-programming/343357-macro-excel.html)

jstp

macro in excel
 
I have multiple worksheets in a protected workbook.xlt. I need to create a
macro that will allow users to enter data then use keyboard shortcuts (I'm
using ctrl + i) to add rows if they need to enter additional data. My problem
is adding the rows in the right place-below the current row. I've address
the pw and keyboard shortcuts just need to add blank rows below the last row
of data.

Jim Thomlinson[_4_]

macro in excel
 
ActiveCell.Offset(1, 0).EntireRow.Insert xlDown
--
HTH...

Jim Thomlinson


"jstp" wrote:

I have multiple worksheets in a protected workbook.xlt. I need to create a
macro that will allow users to enter data then use keyboard shortcuts (I'm
using ctrl + i) to add rows if they need to enter additional data. My problem
is adding the rows in the right place-below the current row. I've address
the pw and keyboard shortcuts just need to add blank rows below the last row
of data.


jstp

macro in excel
 
Perfect!!

"jstp" wrote:

I have multiple worksheets in a protected workbook.xlt. I need to create a
macro that will allow users to enter data then use keyboard shortcuts (I'm
using ctrl + i) to add rows if they need to enter additional data. My problem
is adding the rows in the right place-below the current row. I've address
the pw and keyboard shortcuts just need to add blank rows below the last row
of data.



All times are GMT +1. The time now is 07:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com