+ Reply to Thread
Results 1 to 2 of 2

extract data from Non Microsoft application into a userform

  1. #1
    Registered User
    Join Date
    01-10-2014
    Location
    hyderabad
    MS-Off Ver
    Excel 2007
    Posts
    1

    extract data from Non Microsoft application into a userform

    Hi All,

    I joined this community today. I have a built a userfom for Timesheets in my organization. It has all the required lists and drops downs. But there are 5 textboxes for which the data would be copied from non Microsoft application and paste in this userform before submitting. The other application is always active on the system.

    The other application is built on vb6 it seems. its similar to userform with listboxes , textboxes and command buttons. I need to copy data from few text boxes in that application and paste it in my userform.

    Can someone guide in proper direction as where I need to start first?

    Thank you all.

  2. #2
    Forum Contributor
    Join Date
    12-31-2012
    Location
    Jhang, Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    250

    Re: extract data from Non Microsoft application into a userform

    You can use AppActivate method to activate that vb6 application and SendKeys to send Tab and Ctrl+C Keystrokes to copy text and AppActivate again to activate your application and SendKeys to paste data.
    Alternatively, you may use Autohotkey (Scripting Language) which is very handy tool.
    Last edited by hafizimran; 01-10-2014 at 09:27 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. VBA Code to extract data from userform
    By joyhampton in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-05-2013, 06:43 PM
  2. Microsoft Excel is waiting for another application to complete OLE action
    By LisaPatch in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-11-2011, 02:52 AM
  3. Replies: 2
    Last Post: 10-15-2010, 09:02 AM
  4. Load anther microsoft application from excel
    By Crowbar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-22-2005, 04:45 PM
  5. Replies: 0
    Last Post: 05-04-2005, 12:06 PM

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