+ Reply to Thread
Results 1 to 15 of 15

Controlling other windows applications

Hybrid View

  1. #1
    Registered User
    Join Date
    08-01-2007
    Location
    Johannesburg
    Posts
    8

    Controlling other windows applications

    I am new to this forum, and hope to become a regular.

    I am self taught on VBA and I have written many useful macros. Being self taught has its cons because there is still a lot that I dont know.

    I want to know how to control other windows programs using VBA from excel. I want to run the macro, have it open a program that is installed in windows. be able to move the mouse in that program and type using the data in excel. Is this possible?

    Pls can you keep the answer simple... thanks in advance.

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

    Without knowing what program you are refering I gan only give the above reply
    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
    Registered User
    Join Date
    08-01-2007
    Location
    Johannesburg
    Posts
    8
    It is software used internally that was developed specifically for the company I work for... so thats not going to help.

    However lets maybe use the following programs so that I could see the difference and learn this new skill. Pls use what ever scenario you would like, the below is just an example.

    Open notepad,
    write text from text in excel,
    then print and close the application.

    Open paint
    draw a line
    make a selection
    copy a selection
    paste copied selection into excel
    exit paint

  4. #4
    Registered User
    Join Date
    07-25-2007
    Posts
    24

    hmm

    mudraker you say excel can control other programs, how about internet explorer??

  5. #5
    Registered User
    Join Date
    08-01-2007
    Location
    Johannesburg
    Posts
    8
    Internet Explorer would be a great example too.

    Come on guys... someone must know

  6. #6
    Registered User
    Join Date
    03-31-2006
    MS-Off Ver
    Excel 2003
    Posts
    76
    PilotC !
    Are you writing a new Windows ?

+ Reply to 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