ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Copy and Insert Row problem when AutoFilter is ON (https://www.excelbanter.com/excel-programming/355680-copy-insert-row-problem-when-autofilter.html)

wesbird

Copy and Insert Row problem when AutoFilter is ON
 
Hi,
I help my co-worker to build a excel tool. the basic idea is, since the
whole worksheet is protected, and only certail range was allowed to
insert/delete row. I decide to add 2 small +/- image and put code after them:
for insert row, it will copy current row and insert right after it. This
works just fine in most case.
now I have a problem, when AutoFilter is turn on, the + insert row just
add a blank row. It lost all default value and formulas. It works fine when I
turn AutoFilter back off.
Has anybody get this problem before? How do you handle it?
I really appreciate your help.
Thank you very much









All times are GMT +1. The time now is 07:28 AM.

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