Search results

  1. J

    Error when clicking on listbox

    i have customer database and got userform with listbox, but every time open form and click a record on list box get the run time error, could not find the specified object, and highlight this line (in red): Private Sub ContactForm_Click() Dim say As Long, a As Byte For a = 0 To 11...
  2. J

    Multiple attachment

    Yes, i tried when click send give me Run-time error -2147024894(80070002) and highlight this line (When click send button): If Len(Me.txtAttachment) > 0 Then oEmail.Attachments.Add Me.txtAttachment.Value thanks again.
  3. J

    Hide record from combobox

    one question, is this (booleanField) the checkbox field name? thanks
  4. J

    Multiple attachment

    Thank you. I tried when when i select two files it highlight them but when i click ok nothing on textbox attachment, doesn't show any. and i click send, not files attached.
  5. J

    Hide record from combobox

    thanks. I tried but didn't work. the combo has after udpae macro. and here it's the query based on: SELECT [Contacts Extended].[ID], [Contacts Extended].[Contact Name], [Contacts Extended].[Company], [Contacts Extended].[E-mail Address] FROM [Contacts Extended] WHERE ((([Contacts...
  6. J

    Multiple attachment

    I have browse button to attach multiple files, even if I select multiple files and only show one in the textbox attachment, if add this line more than once on the send button, oEmail.Attachments.Add Me.txtAttachment.Value when click send it repeats same file, how can i select multiple files to...
  7. J

    Hide record from combobox

    I have a form with combobox to find companies and in the form, also in the form there's a check box for terminated/inactive companies, how can I make it if the check box is checked not to show the company in the combobox and if want it to enable back, how? The combo has afierce update macron...
  8. J

    Drag and drop and show file name only.

    any help please.
  9. J

    Drag and drop and show file name only.

    I have this code works fine, but when sending invoices will be easier to drag and drop the files being attached into a textbox because i use two monitors, also if just show the files names instead of folder in the textbox. is it possible? here it's the code: Private Sub btnBrowse_Click()...
  10. J

    Send Email "Body Message.

    Re: Send Email "Body Message. (SOLVED) Thank you for all your help. everything works.
  11. J

    Send Email "Body Message.

    Because this switching from excel to Access and we have a list of customer that approve to withdraw, so in excel type message depending on the customer. how can i use an If/Then/Else to add the appropriate text. any idea?
  12. J

    Send Email "Body Message.

    Sorry, i have one more question if you please can help me, depending on the customer, some of them already approved us to withdraw from their wallet, and other one has to confirm how can i make that to work, here are the two messages: 1. ="Here is the monthly invoice # for " &...
  13. J

    Send Email "Body Message.

    Thanks so much, it worked.
  14. J

    Send Email "Body Message.

    it's a combo, how do i know the column number? thanks
  15. J

    Send Email "Body Message.

    Thank you. I tried the suggested code below, but it gets me the id number instead of company name, how can i make to get the Customer name instead. Private Sub btnSend_Click() Dim oApp As New Outlook.Application Dim oEmail As Outlook.MailItem Dim sBody As String Set oEmail =...
  16. J

    Send Email "Body Message.

    Hi, I have this code that i want send as body message in email but i want to pickup the company name according the company i am sending the invoice, but giving me error 2465 cannot find the field, Here it's the code: Private Sub btnSend_Click() Dim oApp As New Outlook.Application Dim...
  17. J

    Send email for current record on form

    Thanks. But I am new on VBA so any sample code, please.
  18. J

    Send email for current record on form

    how can i create a vba code to send email to current record in the form with body message and cc as well. is there any sample code to start with? thanks
  19. J

    Default value

    how can set a text box default value to this in access forms: Here is the monthly invoice # for [Contacts]![Company] . Please confirm if we may collect the payment from your wallet. Please contact me if you have any questions.Thanks. thank you
  20. J

    Modify Code

    how can i change the message line of this code to display no only column c details but also column "D" and "E" and popup dialog. Here it's the code: Dim lstRow As Long Dim i As Long Dim msg As String msg = "Alert!!! The following schedules need attention, payment will be due soon:" & vbCrLf &...
Back
Top Bottom