RagingBokky
New Member
- Joined
- May 27, 2017
- Messages
- 12
Hi Everyone,
First time on this forum, since most time I just use the general google search vba macro [item I want to simulate] and most time it has been a charm to read and build my own version
I am kind of a novice programmer but ok at it as most things I do is general console base c programming and not so much of this windows API stuff!!
anyways what I want to achieve with my email generator macro
A1 has a prefilled data validation upon selecting an option it will generate a prefilled email with certain input email while maintaining box still saying 1 word and also removing B1 data validation (got that working)
Upon selecting a certain item in A1 it should generate its own Data Validation into B2 while maintaining saying 1 word after selecting (got that that working)
The problem I am currently stuck on is after I select this item in A1 and it generates the second data validation into B1 If I select an item in B1 it won't generate an email for that option selected in that
The function I'm trying to use in my private sub is case statement but I am not sure how to use it exactly or perfectly for that matter
</code>
Thank you all for helping such a novice!!
First time on this forum, since most time I just use the general google search vba macro [item I want to simulate] and most time it has been a charm to read and build my own version
I am kind of a novice programmer but ok at it as most things I do is general console base c programming and not so much of this windows API stuff!!
anyways what I want to achieve with my email generator macro
A1 has a prefilled data validation upon selecting an option it will generate a prefilled email with certain input email while maintaining box still saying 1 word and also removing B1 data validation (got that working)
Upon selecting a certain item in A1 it should generate its own Data Validation into B2 while maintaining saying 1 word after selecting (got that that working)
The problem I am currently stuck on is after I select this item in A1 and it generates the second data validation into B1 If I select an item in B1 it won't generate an email for that option selected in that
The function I'm trying to use in my private sub is case statement but I am not sure how to use it exactly or perfectly for that matter
Code:
[IMG]http://icons.iconarchive.com/icons/double-j-design/ravenna-3d/24/File-Copy-icon.png[/IMG]Private Sub Worksheet_Change(ByVal Target As Range)
<code style="margin: 0px; padding: 0px; font-style: inherit; font-weight: inherit; line-height: 12px;">If Not Intersect(Target, Range("A1")) Is Nothing Then
Select Case Range("A1")
Case "EoDSL": EoDSLemail
Case "EoEDSL": EoEDSLemail
Case "EoNBN": EoNBNMenu
Case "EoTWEA": EoTWEAemail
Select Case Range("B1")
Case "FTTP": FTTPemail
End Select
End If
End Sub
Thank you all for helping such a novice!!