Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 60
Default Turn off a filter before running a macro

Hello,

I need a macro that before running turn off a filter in column "P"

Can you Please tell me the syntax to write this.


Thank you ! Arno
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 157
Default Turn off a filter before running a macro

Range("P:P").AutoFilter Field:=1

--
Ian
--
"Arno" wrote in message
...
Hello,

I need a macro that before running turn off a filter in column "P"

Can you Please tell me the syntax to write this.


Thank you ! Arno



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Turn off a filter before running a macro

Try,

Range("P:P").AutoFilter Field:=1

Mike

"Arno" wrote:

Hello,

I need a macro that before running turn off a filter in column "P"

Can you Please tell me the syntax to write this.


Thank you ! Arno

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 60
Default Turn off a filter before running a macro

Thank you Ian !

"IanC" wrote:

Range("P:P").AutoFilter Field:=1

--
Ian
--
"Arno" wrote in message
...
Hello,

I need a macro that before running turn off a filter in column "P"

Can you Please tell me the syntax to write this.


Thank you ! Arno




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 60
Default Turn off a filter before running a macro

Thank you Mike !

"Mike H" wrote:

Try,

Range("P:P").AutoFilter Field:=1

Mike

"Arno" wrote:

Hello,

I need a macro that before running turn off a filter in column "P"

Can you Please tell me the syntax to write this.


Thank you ! Arno



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Turn off a filter before running a macro

Arno,

Glad I could help. Here's a tip, if your unsure of the syntax for something
like this simply record youself doing it with the macto recorder.

Mike

"Arno" wrote:

Thank you Mike !

"Mike H" wrote:

Try,

Range("P:P").AutoFilter Field:=1

Mike

"Arno" wrote:

Hello,

I need a macro that before running turn off a filter in column "P"

Can you Please tell me the syntax to write this.


Thank you ! Arno

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
Macro to allow auto filter after running password protect Roady Excel Discussion (Misc queries) 1 July 17th 08 06:34 PM
Advanced Filter works in recorder but not while running macro mburkett Excel Programming 3 June 17th 08 05:19 PM
Macro help! Selecting rows after running a filter Joe[_6_] Excel Programming 1 January 12th 08 10:57 AM
turn off filter Kathy in Chicago Excel Worksheet Functions 1 March 21st 05 11:00 PM
paste into filter criteria box running macro stephan brisson Excel Programming 1 April 17th 04 03:23 AM


All times are GMT +1. The time now is 05:49 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"