+ Reply to Thread
Results 1 to 4 of 4

Save Button and Search On Userform faults

  1. #1
    Registered User
    Join Date
    07-07-2013
    Location
    Northampton uk
    MS-Off Ver
    Excel 2010
    Posts
    146

    Save Button and Search On Userform faults

    i have the following code which is from my Search Expenses page on my userform, i have a search by date as well as the listbox. if i put a date in and press search it populates a set of boxes and the same from the listbox. my issue is this, when i edit the item which it allows me to day it throws up saying that the item can not be found yet its put the item in the edit section

    im just wondering if there is a problem with my search date and save buttons, could someone help please

    Please Login or Register  to view this content.

  2. #2
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,125

    Re: Save Button and Search On Userform faults

    I don't know if this is your problem, but there's an article about searching for dates. (Scroll to bottom)
    David
    (*) Reputation points appreciated.

  3. #3
    Registered User
    Join Date
    07-07-2013
    Location
    Northampton uk
    MS-Off Ver
    Excel 2010
    Posts
    146

    Re: Save Button and Search On Userform faults

    i suppose but very confusing since im new to this

  4. #4
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,125

    Re: Save Button and Search On Userform faults

    So the article describes that searching for a date must be in a specific format "mm/dd/yyyy".

    F8 to step through the code and after it passes datFind = DateValue(sFindIt), hover over datFind and see what number it's assigned. Then go back to the worksheet and format the date in question to General. This number in the cell should match the number in datFind.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Search button on an USERFORM
    By alopecito in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-25-2012, 09:34 AM
  2. [SOLVED] How to save worksheet with userform control button
    By fremarco in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 07-04-2012, 09:27 PM
  3. [SOLVED] Button on Userform to Save worksheet?
    By 10121730 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-15-2012, 11:44 AM
  4. [SOLVED] Search button in userform
    By Ray316 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-07-2011, 09:10 AM
  5. Search Button On Userform
    By markrennolds in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-03-2010, 04:06 PM

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