How do you Type in the & Sign ????
Keywords:
Question:
I want to use the MouseClickBtn command as follows; MouseClickBtn ("A/P Period End","","Month end & purge")and it keeps falling over with an error message and changing the & sign to a _ !!!! What do I do ???
Answer:
Use:MouseClickBtn ("A/P Period End","","Month end && purge")The reason for the problem is that the & is how menus and buttons identify what alt-character can be used to press that button. ie- if the button name is "Month End", then you must use the mouse (or whatever number of {tab}s, to press the button. If the button name is "&Month End", it will show up as "Month End", and then you can also use Alt-M to press the button.I would ignore the appearance of the '_' in the error message and concentrate on what else may have gone wrong.
Article ID: W13095Filename: MouseClickBtn and Sending Ampersands.txt