Closed Thread
Results 1 to 3 of 3

Send focus to textbox1

  1. #1
    Registered User
    Join Date
    04-26-2007
    Posts
    77

    Send focus to textbox1

    Dear Experts

    Command1 has folloiwng three lines

    Please Login or Register  to view this content.
    When I press command1 then curosor goes to the end of data but I want to send it in the beginning of data. The curosr must appear before first digit.

    How to send curosr on given location in textbox?

    Please help
    Last edited by mudraker; 05-25-2007 at 04:21 AM.

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    tqm1

    Please read forum rules - see links below

    I have wrapped your VBA code for you this time

    Now to your problem

    Try

    Please Login or Register  to view this content.
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  3. #3
    Forum Contributor Stuie's Avatar
    Join Date
    09-17-2006
    Location
    Suffolk, UK
    MS-Off Ver
    Excel 2003/2007
    Posts
    432
    Hey tqm1...

    try adding this line:

    Please Login or Register  to view this content.
    so end code looks like:
    Please Login or Register  to view this content.
    Hope it helps..

    Edit: Ooppss didnt see your reply mudraker... Sorry

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1