Hi everyone, I have a word document that is laid out in tables, I need to know how to send a vbtab keystroke to word from vb,
Thanks,
John
Printable View
Hi everyone, I have a word document that is laid out in tables, I need to know how to send a vbtab keystroke to word from vb,
Thanks,
John
You can bring the application to the top (give it focus) and use sendkeys... Note, that it probably isn't the best solution, although it will work.
Hi, thanks, I've got word running in the background, it would be a bit impractical to bring it to the front, I've found how to go forwards and backwards through the characters and assumed that there must be a way of sending a key to the app
How are you instanciating Word? Using the Word Object Model or
shelling the doc? If you are using the WOM then you can use the
Selection.Move method to navigate throughout the document.