Hello,
I have a few questions with regards to VBA coding,
1) In my code I evaluate the "Yes" or "No" answers based on user input in cells (many of them) and when I read that value in VBA it's case sensitive. So "Yes" is not "yes". What is the best way to deal with this situation?
here is one of the line of code
2) I'm asking user to input a file path & filename in cell C5 (and 4 other cells) e.i. (C:\Users\work\temp.txt), that in it's self isn't a problem, but would like to have the user "browse" to find the file is that possible? If yes any ideas on how to implement it?
Also is there a way to verify if the file exist (assuming there is also the option for the user to actually type the file name)
Thanks for your help.
I have a few questions with regards to VBA coding,
1) In my code I evaluate the "Yes" or "No" answers based on user input in cells (many of them) and when I read that value in VBA it's case sensitive. So "Yes" is not "yes". What is the best way to deal with this situation?
here is one of the line of code
HTML:
If Cells(4, "E").Value = "Yes" And Cells(11, "J").Value = "Yes" Then
Also is there a way to verify if the file exist (assuming there is also the option for the user to actually type the file name)
Thanks for your help.