Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default MANAGING MACROS

i have recorded a macro until the point i have to choose a particular date using the auto filter command
how can i continue recording the same macro after i have chosen the date i want? is that feasible or do i have to record a macro without intervals


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default MANAGING MACROS

Hi Angie,

You should have tried it<VBG.

You can record that action as well, and continue recording. The date you
pick will be input into the recorded macro.

Dates do pose a problem though, due to international settings. When you
record the macro, the criteria will be a string similar to this "<25-Feb",
where the format reflects the format of your date column The problem comes
if you want to change this to a variable value in your macro, such as
Today. I did this with a similar problem, and the way I got around it was to
set the criteria format to the same format as the first date in my filtered
column, like this

Columns(1).AutoFilter Field:=1, Criteria1:="<" & Format(Date,
Range("A2").NumberFormat)

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"angie" wrote in message
...
i have recorded a macro until the point i have to choose a particular date

using the auto filter command.
how can i continue recording the same macro after i have chosen the date

i want? is that feasible or do i have to record a macro without intervals?




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
Managing add-ins via the registry Athos Setting up and Configuration of Excel 0 February 5th 09 01:00 PM
Managing columns KLH Excel Worksheet Functions 3 March 14th 08 12:28 AM
Managing bad data hasn7 Excel Discussion (Misc queries) 2 May 18th 06 10:53 PM
Managing a big report nbeaird Excel Discussion (Misc queries) 0 March 16th 05 03:25 PM
MANAGING PRICELISTS angie Excel Programming 3 February 3rd 04 02:50 PM


All times are GMT +1. The time now is 12:57 PM.

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

About Us

"It's about Microsoft Excel"