Search results

  1. K

    Variable Problem

    I see it now. Thanks!!
  2. K

    Data Format

    Thanks!
  3. K

    Variable Problem

    I'm using the following code. How to do I get the value "comps" to appear where test is? Because it's wrapped in the quotes, I'm getting just the word test. What am I doing wrong? Dim test As String If ([Mdid] = "COMP32145") Then test = "comps" [Mlink] = "#\test\pdf\" & [Mspectraid1] &...
  4. K

    Data Format

    need to remove the period and characters to the right.
  5. K

    Data Format

    [Mlink] = "#\comps\pdf\" & [Msample] & ".pdf#" Msample data looks like this: 12345.SPA, so the above results is: \comps\pdf\12345.SPA.pdf How can I remove the .SPA? So it looks like \comps\pdf\12345.pdf in vba.
  6. K

    lookup in multiple fields

    ok
  7. K

    lookup in multiple fields

    Because I just want to make sure the syntax is correct. Easy to miss something and not have it work. That's why I'm asking.
  8. K

    lookup in multiple fields

    Can you show me how that would look? Thanks.
  9. K

    lookup in multiple fields

    Could you show me exactly how that would look? Thanks.
  10. K

    lookup in multiple fields

    I'm using the following code to lookup if a number already exists. Works fine. I would like it to search in three other fields as well. Msamplenumber2, Msamplenumber3, Msamplenumber4 So when it does a lookup, it would look in all four fields. How can I combine those extra three fields below...
  11. K

    If with . Attachement

    (y)
  12. K

    If with . Attachement

    The value for Msample is at the beginning of my code. That part works fine. I'm going to try below. If IsNull([Msample]) Then .Attachments.Add "\\Web\bass1\pdf\" & [Msample] & ".pdf" Else .Attachments.Add "\\Web\bass2\pdf\" & [Msample] & ".pdf"
  13. K

    If with . Attachement

    No, if Msample is null then xxx.pdf else zzz.pdf
  14. K

    If with . Attachement

    Thanks.
  15. K

    If with . Attachement

    I'm using the following... .Attachments.Add "\\Web\bass\pdf\" & [Msample] & ".pdf" I would like to create an if statement for the attachment line. If IsNull([Msample]) Then .Attachments.Add "\\Web\bass1\pdf\" & [Msample] & ".pdf" Else .Attachments.Add "\\Web\bass2\pdf\" & [Msample] & ".pdf"...
  16. K

    Hyperlink, Find and Replace

    thought I did. Works now. Thanks!
  17. K

    Hyperlink, Find and Replace

    Got it.
  18. K

    Hyperlink, Find and Replace

    yes
  19. K

    Hyperlink, Find and Replace

    Yes
  20. K

    Hyperlink, Find and Replace

    Something like this... [Mlink4] = Replace([Mlink1],"normal","custom")
Back
Top Bottom