Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by neepshed

  1. neepshed

    ADO Object Variable not set

    I guess I want to know how do I check if the right hand side of the condition is not set?
  2. neepshed

    ADO Object Variable not set

    Hi. I have a procedure that has a list of ids in a recordset. I compare each of these ids against an external database table. However if an id does not exist in the external table i get the error 91 object variable not set error. If rsWellList.Fields("IDWell").Value =...
  3. neepshed

    Concatenate 3 fields from Table

    How can I join 3 fields from a single table together. I intend putting the result into a temporary table. e.g. Table 1 Field1 Field2 Field3 Output Field1,Field2,Field3 Thanks in advance.
  4. neepshed

    Open Form and show records based on Autonumber

    Hi. I want to open a form based on the result of an autonumber for a newly added record. The form I want to open will be a data sheet with no rows as the autonumber value will not be present in the table. I have tried DoCmd.OpenForm "frmAssignments", , , "LessonID = AutoNumber" But it doesnt...
  5. neepshed

    Compare data formatted as hh:mm

    Thanks XWB.
  6. neepshed

    Compare data formatted as hh:mm

    Hello, I have a script that compares data formatted as hh:mm. However the comparison never seems to work. FromTime is defined as a Long. If ToSheet.Cells(2, 3) = FromTime Then FoundTime = True Cells(YrRow, TimeCol).Interior.ColorIndex =3...
  7. neepshed

    Show records on form based on input fields

    Hi. I am total newbie to this. I am trying to create a procedure that will show all records on a form that match the inputs of 3 separate fields on the same form. The procedure will run the On Click event on a button. Can anyone point me in the right direction. Thanks.
  8. neepshed

    Cell Reference

    Stella you are a God. Thanks. I've spent about 3 hours trying to figure that out!
  9. neepshed

    Cell Reference

    I have a cell K41 that contains a cell reference e.g. $B$23. This is obtained by by using =ADDRESS(L37,L35). How can I get the value of the contents of cell $B$23. Everytime I try and reference the value in a formula I get reference K41 and not the contents on $B$23. Thanks.
  10. neepshed

    Help: Excel formula, will be simple

    I have a cell with a reference in it e.g. $B$23. How can I read in this reference to obtain the value of cell $B$23. thanks
  11. neepshed

    Find value in a cell

    I need to search a cell for a particular value and based on whether the value is present I need to perform an action. What is the best way of searching a cell for a determined value. This search will be done row by row in the spreadsheet. So I dont want to specify the entire spreadsheet range...
  12. neepshed

    Copy data from Excel to Word

    I get a run time error 424. Object required. Yep. I'm not very good at this. So if you've got a solution I'd be very grateful.
  13. neepshed

    Copy data from Excel to Word

    Hello, I am trying to create a macro that will copy a selection from Excel and paste special into Word (unformatted text). Any thoughts on what I have so far. It fails when I do the paste special. Thanks in advance. Sub CreateText() ' ' ' ' COPY Data from Excel Cells.Select...
  14. neepshed

    Run a batch file?

    Does anyone know of a way to create a hyperlink that will run a batch file?
  15. neepshed

    Email form results

    Problem solved. I had not setup the Forms correctly

Part and Inventory Search

Back
Top