Hi,
This is a really simple one but I can't get it to work:
I have a dropdown list with Yes or No in cell M14.
I need the VBA code for:
When M14 = Yes and M16 = "" (empty)
for a message box to appear with "Please state the Filename"
Many thanks
Hi,
This is a really simple one but I can't get it to work:
I have a dropdown list with Yes or No in cell M14.
I need the VBA code for:
When M14 = Yes and M16 = "" (empty)
for a message box to appear with "Please state the Filename"
Many thanks
Last edited by jammy78; 01-27-2012 at 05:50 AM.
try this way ... type below code in your sheet's code
![]()
Please Login or Register to view this content.
Best Regards
MaczaQ
---------------------------------------------------------------------------------------------------------------------------
If you are satisfied with the solution(s) provided, please mark your thread as Solved
If you are pleased with my answer consider to rate it. To thank someone who has helped you, click on the star icon below their name.
- This way you will add him some reputation points ... thanks in advance.
Sorry, I should have probably said - I want to add the code to an existing command.
This is some of the code in the command:
So I need to add it to this!![]()
Please Login or Register to view this content.
see the code provided by maczaq and change it for yr needs
as an option
![]()
Please Login or Register to view this content.
Regards, John55
If you have issues with Code I've provided, I appreciate your feedback.
In the event Code provided resolves your issue, please mark your Thread as SOLVED.
If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.
...enjoy -funny parrots-
nothing more to say that john55 wrote
maybe shorter code ?
![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks