Greetings,
I am looking to use VBA to create a new E-mail and use text template that uses ranges but I can't seem to figure it out of find the answer.
and assistance would be appreciated.Please Login or Register to view this content.
Greetings,
I am looking to use VBA to create a new E-mail and use text template that uses ranges but I can't seem to figure it out of find the answer.
and assistance would be appreciated.Please Login or Register to view this content.
Last edited by Pepe Le Mokko; 07-02-2019 at 10:06 AM.
Administrative Note:
We would very much like to help you with your query, however you need to include code tags around your code.
Please take a moment to add the tags. Posting code betweentags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.Please Login or Register to view this content.
Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here
I have done it for you this time
maybe this?
Please Login or Register to view this content.
I seem to be getting a Syntax error with either line, even if I remove the second text string.
it seems like this is missing a parenthesis
change to this:Please Login or Register to view this content.
does that fix the problem?Please Login or Register to view this content.
I did try that and I receive the same error.
If I only use
I wont get an error but nothing will happen.Please Login or Register to view this content.
okay, try this (might work, haven't tested)
Please Login or Register to view this content.
It doesn't seem to like that either.
what is the error exactly?
might need for you to upload a sample workbook so i can see the code in action.
I am getting Compile error: Syntax error
The workbook is essentially empty, just working on this VBA before I try to introduce it into something more complicated.
It should be attached though.
so i got this fixed. in your commandbutton1 code, put this below the sub line:
change the subject line to this:Please Login or Register to view this content.
that should fix the problem.Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks