UN tested but try

Sub FilterDeleteColumnN()
Application.ScreenUpdating=false
with Range("N1:N"&Range("N" & Rows.Count).End(xlUp).Row)
  .AutoFilter Field:=1, Criteria1:="ş"
  .offset(1).rows.delete
  .AutoFilter
end with
Application.ScreenUpdating=True
end sub


On Jan 30, 11:10 am, Sam Mathai Chacko <samde...@gmail.com> wrote:
Try adding a line at the end of the code

Application.ScreenUpdating=True


Don Guillett
SalesAid Software
dguille...@gmail.com
-----Original Message----- From: Thomp
Sent: Monday, January 30, 2012 12:39 PM
To: MS EXCEL AND VBA MACROS
Subject: Re: $$Excel-Macros$$ Checkbox disappears when Macro Run

Here is the code Sam..when I added your code line it eliminates all
the lines not just those completed

Sub FilterDeleteColumnF()
Dim Lastrow As Long

Range("N:N").AutoFilter Field:=1, Criteria1:="ş"
Lastrow = Range("N" & Rows.Count).End(xlUp).Row

If Lastrow > 3 Then Range("A3:A" &
Lastrow).SpecialCells(xlCellTypeVisible).EntireRow.Delete xlShiftUp

ActiveSheet.AutoFilterMode = False


On Jan 30, 11:10 am, Sam Mathai Chacko <samde...@gmail.com> wrote:
Try adding a line at the end of the code

Application.ScreenUpdating=True

Regards,
Sam Mathai Chacko





On Mon, Jan 30, 2012 at 8:59 PM, Thomp <williamth...@gmail.com> wrote:
> I have this weird problem that whenever I run a macro I have the
> clears some data.. the checkbox control at the top
> disappears..Stranger still is if I drag the last row of data or copy
> and paste in a new row the checkbox reappears.. I have already tried
> changing the format control  to  the option of "dont move or size with
> cells" but that has no effect.

> The checkbox is from the control toolbox and is assigned a macro..just
> in case that makes a differenct..

> thanks in advance for any help on this

> --
> FORUM RULES (986+ members already BANNED for violation)

> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.

> 2) Don't post a question in the thread of another member.

> 3) Don't post questions regarding breaking or bypassing any security
> measure.

> 4) Acknowledge the responses you receive, good or bad.

> 5)  Cross-promotion of, or links to, forums competitive to this forum in
> signatures are prohibited.

> NOTE : Don't ever post personal or confidential data in a workbook. > Forum
> owners and members are not responsible for any loss.

> 
---------------------------------------------------------------------------­---------------------------
> To post to this group, send email to excel-macros@googlegroups.com

--
Sam Mathai Chacko- Hide quoted text -

- Show quoted text -

--
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited.

NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss.

------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com
--
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited.
NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com

Reply via email to