#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 52
Default Date Search

I hope I explain this right.
In a sheet I want a date field that I can type in and a command button that
will pull from 12 spreadsheets Names, OTIS number and Release Date.
I know how to create a command button I am just unsure of the code. Right
now I am working with 3 sheets but will be adding more later.

Thanks
Cheyenne
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Date Search

Basic structure idea:

Dim MyValue as String

MyValue = Range("a2").value
For each worksheet in 'specificy range
'apply authofilter, search criteria based on MyValue
'Select data you want
Selection.Copy
'Return to home sheet, find first empty row
ActiveSheet.Paste
Next Worksheet

Obviously this isn't a complete program, but hopefully it gives you some
idea as to where to start. A lot of it can be written simply by recording
yourself doing said actions.

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Chey" wrote:

I hope I explain this right.
In a sheet I want a date field that I can type in and a command button that
will pull from 12 spreadsheets Names, OTIS number and Release Date.
I know how to create a command button I am just unsure of the code. Right
now I am working with 3 sheets but will be adding more later.

Thanks
Cheyenne

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 52
Default Date Search

I need some more help.

The cell that I type the date into is B1 on sheet Records
I want range W4:W75 (for right now) on sheet ACC.

On the records sheet starting in A4 - A8 I want to have the fields from ACC
in this order
Name OBCIS Date of Arrest Charges? One Month F/U


Thanks
Cheyenne



"Luke M" wrote:

Basic structure idea:

Dim MyValue as String

MyValue = Range("a2").value
For each worksheet in 'specificy range
'apply authofilter, search criteria based on MyValue
'Select data you want
Selection.Copy
'Return to home sheet, find first empty row
ActiveSheet.Paste
Next Worksheet

Obviously this isn't a complete program, but hopefully it gives you some
idea as to where to start. A lot of it can be written simply by recording
yourself doing said actions.

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Chey" wrote:

I hope I explain this right.
In a sheet I want a date field that I can type in and a command button that
will pull from 12 spreadsheets Names, OTIS number and Release Date.
I know how to create a command button I am just unsure of the code. Right
now I am working with 3 sheets but will be adding more later.

Thanks
Cheyenne

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
Can't find certain date in search Ken[_2_] Excel Worksheet Functions 3 July 1st 08 04:17 AM
how to search by date MV Excel Discussion (Misc queries) 3 September 10th 07 02:44 PM
VLOOKUP date search George Excel Worksheet Functions 1 May 30th 06 07:14 AM
search for latest date Sue Excel Worksheet Functions 2 August 2nd 05 11:09 PM
search by date in windows explorer boyd Excel Discussion (Misc queries) 3 May 25th 05 05:14 AM


All times are GMT +1. The time now is 08:55 AM.

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"