Mightyginger
Programmer
Hi,
I have a sub that imports a text file with some numbers. I want to be able to see if a key is pressed - if it is then it's going to invert the numbers. So is there some way that basically someone can press and hold down, say, the Shift key and then click a button to run the macro and I can then detect that key being pressed?
Thanks,
Neil.
I have a sub that imports a text file with some numbers. I want to be able to see if a key is pressed - if it is then it's going to invert the numbers. So is there some way that basically someone can press and hold down, say, the Shift key and then click a button to run the macro and I can then detect that key being pressed?
Thanks,
Neil.