+ Reply to Thread
Results 1 to 4 of 4

Filter Data between 2 dates, copy, paste

  1. #1
    Forum Contributor
    Join Date
    10-01-2008
    Location
    Eureka, CA
    Posts
    161

    Filter Data between 2 dates, copy, paste

    Hi, Thanks in advance for the help.

    I use excel to do mileage reports for my job. I have a table of data, each line dated. I need code to gather all data between 2 dates selected by user form, copied, then pasted onto an existing worksheet named (Mileage Report) to cell K3 over and down

    I currently achieve the needed results with a ton of formula that i believe slows down my program. I have attached a sample workbook. thanks again for the help
    Attached Files Attached Files

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Filter Data between 2 dates, copy, paste

    I've taken a quick look. Your entry form errors immediately, debugging shows that it's the
    SLocNameCombo change event. This amendment prevents the error & avoids using VLOOKUP
    Please Login or Register  to view this content.
    I'll have a look at the filter part next
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Filter Data between 2 dates, copy, paste

    Which userform is to filter the dates?

  4. #4
    Forum Contributor
    Join Date
    10-01-2008
    Location
    Eureka, CA
    Posts
    161

    Re: Filter Data between 2 dates, copy, paste

    Quote Originally Posted by royUK View Post
    Which userform is to filter the dates?
    Hi royUK, thanks for takin a look at this. Sorry i just quickly moved those sheets over along with the forms.....anyway the viewMRForm currently has only 1 combobox to select a month, that will change to 2 comboboxes to select dates. I apologize for not changing that before posting.

    So the end result i desire would have the end user(myself) selecting a date from each of 2 comboboxes, and having the mileage table filtered to show only data dated between those 2 dates. Next the remaining data is copied and pasted onto the mileage report starting at cell K3.

    Thanks again for taking the time to look at this for me

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1