Share via

Email Subject line

Anonymous
2020-12-01T15:41:35+00:00

I have a Macro that is sending a report (EMailDatabaseObject) and in the subject field I have the following criteria:  *="Assembly Shortage Sheet for  " & [Reports]![Shortage Report]![Assy Type] & [Reports]![Shortage Report]![S/N]*This work find but I need to add space (separate) between [Reports]![Shortage Report]![Assy Type]  and [Reports]![Shortage Report]![S/N].

I tried the following criteria:  ="Assembly Shortage Sheet for  " & [Reports]![Shortage Report]![Assy Type] & "  "&[Reports]![Shortage Report]![S/N]  but this propped an Misspelled Error box.

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

6 answers

Sort by: Most helpful
  1. Anonymous
    2020-12-02T23:00:08+00:00

    you said ="Assembly Shortage Sheet for  " & [Reports]![Shortage Report]![Assy Type] & [Reports]![Shortage Report]![S/N] works fine.... is that correct or not? Replacing & with &" "& should also work fine unless there is something else we don't know about.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2020-12-02T22:52:11+00:00

    Once again I have tried  ="Assembly Shortage Sheet for  " & [Reports]![Shortage Report]![Assy Type] & "  " & [Reports]![Shortage Report]![S/N]  I have tried that criteria but it does not work??

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2020-12-01T23:16:27+00:00

    should be:

    ="Assembly Shortage Sheet for  " & [Reports]![Shortage Report]![Assy Type] & "  " & [Reports]![Shortage Report]![S/N]

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2020-12-01T18:15:52+00:00

    I had tried this [Assy Type] & "  "&[Reports] , but still received Misspelling Error box.  I'm I missing something here?

    Was this answer helpful?

    0 comments No comments
  5. Tom van Stiphout 40,211 Reputation points MVP Volunteer Moderator
    2020-12-01T17:04:26+00:00

    Mind your spaces. Should be:

    [Assy Type] & "  "& [Reports]

    Was this answer helpful?

    0 comments No comments