Click to See Complete Forum and Search --> : I would like to use SendKeys


regis
February 16th, 2000, 04:38 PM
I would like to start Ctrl + Shift + G in code VB.

I try with SendKeys {^+G} but the characters "{" is not accepted.

I try "^" & "+G" and "^" & "+" & "G" and ... but I am not able to start Ctrl+Shift+G

Do you know how can I do that ?

Thanks
Redg

Lothar Haensler
February 17th, 2000, 04:07 AM
I just placed the following code in my vb module

AppActivate "Dokument3 - Microsoft Word", true
SendKeys "^+G"



it sent Ctrl + Shift + G to MS Word, which toggled the "case" of the selected text in my word document.
Everything worked as exected.
What is your problem?