Results 1 to 3 of 3

Thread: text box zoom

  1. #1
    Join Date
    Oct 2002
    Location
    Maine
    Posts
    49
    Provided Answers: 3

    Unanswered: text box zoom

    Hi all. I know how to zoom a text box by using "Shift" + "F2". But I am trying to figure out how to do that in VBA. I'm trying to make it so when the user double-clicks the text box, it opens the zoom window for that text box. I've tried the following.

    SendKeys "+(F2)"
    SendKeys "+({F2})"
    SendKeys "+{F2}"
    SendKeys ("+({F2})")
    SendKeys ("+{F2}")
    SendKeys ("+(F2)")

    None of which work. Maybe you can't do this?
    Thanks in advance.

  2. #2
    Join Date
    Feb 2004
    Location
    Chicago, IL
    Posts
    1,312
    Try this:

    DoCmd.RunCommand acCmdZoomBox

  3. #3
    Join Date
    Oct 2002
    Location
    Maine
    Posts
    49
    Provided Answers: 3
    You rock! Thanks. It worked perfectly.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •