I've a wordapp with a sourcedoc and it highlights the paragraph, but
only when you click on it. I've got to here, but wordapp.visible is already true and not needed, and activedocument does nothing. Setofocus causes an exception. This is Windows.
try
sourcedoc.paragraphs(target+1).range.select;
// wordapp.setfocus;
wordapp.Visible:=true;
wordapp.ActiveDocument.Activate();
except
showmessage('oops for '+inttostr(target));
end;
I need to bring Word to the front and sort of click on it. Can anyone help?