Search results

  1. SpentGeezer

    access vba function to find a text in excel to return the column number

    It works for me, see updated code in this db:
  2. SpentGeezer

    Question about Next Record_ID (AutoNumber)

    In Create a button on the form labelled "Get Record Number" that On Click does this: Dim NextRecord NextRecord = Me.Recordset.RecordCount + 1 msgbox "The Record Number is " & nextrecord If multi-user however, I would put some code into the save button that automatically adds this data on save...
  3. SpentGeezer

    access vba function to find a text in excel to return the column number

    Try this. I have changed a couple of things in the function to put the row and column as a delimited string. Then use the split function to parse it. ENJOY:): dim myString dim myRow dim myCol mystring = getthecolumn1(thefile,sheet,thestring) dim myArray() as string if len mystring > 0 then...
  4. SpentGeezer

    access vba function to find a text in excel to return the column number

    Try this from the Spent Geezers Association (save tester.xlc to c:\):
  5. SpentGeezer

    Date Rules - text box one date leads to another

    A thought: You might want to check the dates. They work for November dates but not thoroughly tested and may have to be converted to US style. If they do I have a module that I can put in the DB and repost. :confused:
  6. SpentGeezer

    Date Rules - text box one date leads to another

    Try this one from the Spent Geezer's Association:
  7. SpentGeezer

    who can help me

    So you want to activate a control by pressing F12? I am usure how to do this. However, if you want to activate the command by pressing say Ctrl+d then do this: Firstly set the form's Key Preview property to "Yes" Next add this code to the form's On Key Press Event Dim strCharacter As...
  8. SpentGeezer

    Need help with Form

    Just use this for windows login name: username = VBA.Environ("USERNAME")
  9. SpentGeezer

    Limit (part of) Form to entrance of new data only?

    Try this to get you started:
  10. SpentGeezer

    Need help with Form

    Hi, To show the Login have a label (say lbl_Name). In the On Open event of the form have lbl_Name.caption = "Greetings " & VBA.Environ("USERNAME") To make a full screen form you need to have Docmd.maximize in the on Open event. Your form should also have popup = yes and menu bar = 1. Remove...
  11. SpentGeezer

    1st Attempt at email - Only works Once?

    DONE!!!!!!!!!!!!! (10 Characters)
  12. SpentGeezer

    How to Use Lebans .pdf code access 2000

    I store the dll files in the folder where the .mdb or .mde file exists. Copy his code into a new module e.g. mod_Report2PDF Then to call it...... For a button on click event something like this: dim rptName dim filename dim DateTo dim DateFrom dim username dim FSO dim blRet Set FSO =...
  13. SpentGeezer

    How to find unique (non repetitive) values in list?

    Try this one: :eek:
  14. SpentGeezer

    How to find unique (non repetitive) values in list?

    You can use use/modify the code on the button in this DB :D However this is not what you were after....my apologies!!
  15. SpentGeezer

    Problem with "2 decimal places" code

    Private Sub Payment_Amount_BeforeUpdate(Cancel As Integer) if isnumeric(Payment_AMount) then DotLoc = InStrRev(Payment_Amount, ".") If DotLoc <> 0 And (Len(Me.Payment_Amount) - DotLoc) > 2 Then MsgBox "This field must be input to no more than two decimal places" Cancel = True...
  16. SpentGeezer

    How to Call Attention to Form from Other Programs?

    yOU COULD MAKE THE COUNTDOWN FORM GO FULL SCREEN (TAKE OVER THE SCREEN). Set the following on the form properties (see attachment). [Popup and menu bar = 1 are important] Then OnOpen Docmd.maximize This will cause the form to popup over all other applications.:)
  17. SpentGeezer

    1st Attempt at email - Only works Once?

    THat Lebans code is awesome. I use it in all my databases to print to PDF. It is pretty straight forward.
  18. SpentGeezer

    1st Attempt at email - Only works Once?

    Bill, I am a bit stumped. I can email as many as I want (through Lotus Notes. You have not recieved them because I didn't click Send in Notes). The only thing I can suggest is removing the disabling of the button when the check box is ticked: Private Sub chkTicketAssigned_AfterUpdate()...
  19. SpentGeezer

    1st Attempt at email - Only works Once?

    Can you post the db?
  20. SpentGeezer

    1st Attempt at email - Only works Once?

    Yo Bill, Here is some info on the send object function http://www.blueclaw-db.com/docmd_sendobject_example.htm For a dodgy work around, have you tried putting something like <buttonName>.enabled = true at the end of the sub?
Back
Top Bottom