Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default Auto Filter Freeze Up

I have "Worksheet_SelectionChange" code that alters the formating on the
sheet when I select a certain cell. For some reason excel freezes when I use
the Auto Filter. What should I do???
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Auto Filter Freeze Up

As always post your code. You probably didn't restrict the code to your
cell.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"JeremyJ" wrote in message
...
I have "Worksheet_SelectionChange" code that alters the formating on the
sheet when I select a certain cell. For some reason excel freezes when I
use
the Auto Filter. What should I do???


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default Auto Filter Freeze Up

I narrowed down the problem to ScreenUpdating. It ended up having nothing to
do with my formatting code. It's as simple as this....

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Application.ScreenUpdating = False
End Sub

Excel Freezes when I try to sort data using the Sort buttons in the
autofilter:
Sort A to Z
Sort Z to A
Sort by Color

When I click the "X" to close the program and click cancel when it asks me
if I want to save or not Excel unfreezes. I am using Excel 2007 with Vista.
Any ideas? Are you able to recreate this problem on your computer?


"Don Guillett" wrote:

As always post your code. You probably didn't restrict the code to your
cell.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"JeremyJ" wrote in message
...
I have "Worksheet_SelectionChange" code that alters the formating on the
sheet when I select a certain cell. For some reason excel freezes when I
use
the Auto Filter. What should I do???



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 703
Default Auto Filter Freeze Up

Hi

Without the entire code it's hard to tell.

But a guess would be that you don't turn on screenupdating at the end
of the sub.

---
Per

On 27 Dec., 20:05, JeremyJ wrote:
I narrowed down the problem to ScreenUpdating. *It ended up having nothing to
do with my formatting code. *It's as simple as this....

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Application.ScreenUpdating = False
End Sub

Excel Freezes when I try to sort data using the Sort buttons in the
autofilter:
* * Sort A to Z
* * Sort Z to A
* * Sort by Color

When I click the "X" to close the program and click cancel when it asks me
if I want to save or not Excel unfreezes. *I am using Excel 2007 with Vista. *
Any ideas? *Are you able to recreate this problem on your computer?



"Don Guillett" wrote:
As always post your code. You probably didn't restrict the code to your
cell.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"JeremyJ" wrote in message
...
I have "Worksheet_SelectionChange" code that alters the formating on the
sheet when I select a certain cell. *For some reason excel freezes when I
use
the Auto Filter. What should I do???- Skjul tekst i anførselstegn -


- Vis tekst i anførselstegn -


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
DataFilterAuto Filter in excel 2007? TIJ New Users to Excel 2 November 13th 08 03:28 AM
auto freeze panes procedure PBcorn Excel Programming 2 October 29th 08 09:49 AM
Excel - auto freeze list headers Anorak Excel Worksheet Functions 0 October 23rd 05 02:22 PM
Excel auto filter doesn't recoginize case - won't filter AA from A Mikey Excel Discussion (Misc queries) 1 September 29th 05 08:18 PM
Auto Freeze Frame miker1999[_6_] Excel Programming 0 February 7th 04 02:34 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"