Keven,
Since I am the only person working in this database, the open windows
shouldn't be a problem. Although - there might be a better way to do what I
need to do.
I am simply adding html tags in a field. I use the sendkeys macros to make
<b> and </b> tags, for example. (Bold opening and closing html tags - in
case the actual tags won't show here)
It's still a bit of a pain to have to keep going back and forth to the macro
toolbar. I wonder if there is a way to highlight the needed text and use a
shortcut key to add a <b> (opening b) at the beginning of the text, and a
</b> (closing b) at the end of it, at the same time. Sort of like you would
in a word processor, but instead of just making the text bold, it would add
the tags on either end.
Jeff,
Thanks again!
Jill~
I can't find the Sendkeys macro in Access 2007. Microsoft says the
database
has to be trusted or it won't show. My database IS trusted, but still no
Sendkeys. At least as far as I know, it is trusted. I added it's path and
don't have to enable the content when opened.
Any ideas where Sendkeys could be?
Thanks, J~
In almost all cases there are better ways to accomplish things that
using SendKeys. Most experienced Access programmers will tell you to
avoid SendKeys. It's even gone so far that it is mentioned in the
Access Web 10 Commandments, "9. Thou shalt not use "SendKeys", "Smart
Codes" or "GoTo" (unless the GoTo be part of an OnError process) for
these will lead you from the path of righteousness."
One of the biggest issues with SendKeys is that you don't have 100%
control over which window receives the SendKeys commands. If the user
clicks some other window while your code is executing, the keystrokes
could be sent to some other window, possibly doing damage to something
unintentionally.
If you take a moment to explain what you are trying to accomplish,
someone might be able to offer a better alternative than using
SendKeys.
Keven Denen