Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
punter
 
Posts: n/a
Default Macro to paste and print in another application


Hi,

I'm trying to run some functions in another application on my desktop.
The macro below will open the application in question:

Sub Run_DebitMemo()
Run Shell("C:\ORANT\BIN\R25RUN32.EXE
\\jade\apps\oracle\apsubsystem\debitdetails_covers heet.rep
nassudani/nassudani@apasprod", 1)
End Sub

Here is what I'm attempting to do after that:

Copy data out of an excel sheet into a field called Assign ID
Copy data out of an excel sheet into a filed called Vendor #

Does anyone have any thoughts on how I can do this? I'm having
problems with the recorder and trying to get the data into the
application that the macro above opened. I would be grateful if
someone could put me on the right track.

Thanks

Eddie


--
punter


------------------------------------------------------------------------
punter's Profile: http://www.excelforum.com/member.php...fo&userid=2044
View this thread: http://www.excelforum.com/showthread...hreadid=552929

  #2   Report Post  
Posted to microsoft.public.excel.misc
JLatham
 
Posts: n/a
Default Macro to paste and print in another application

You might want to check out a little free tool that Oracle provides called
Oracle Objects for OLE (OO4O). Link to the Oracle page FAQ for it is he
http://www.orafaq.com/faqoo4o.htm

I haven't used it in a long time, but it was a very handy tool and worked
very well when I was interfacing Excel 97 to an Oracle database long, long
ago in another programming experience far, far away.

"punter" wrote:


Hi,

I'm trying to run some functions in another application on my desktop.
The macro below will open the application in question:

Sub Run_DebitMemo()
Run Shell("C:\ORANT\BIN\R25RUN32.EXE
\\jade\apps\oracle\apsubsystem\debitdetails_covers heet.rep
nassudani/nassudani@apasprod", 1)
End Sub

Here is what I'm attempting to do after that:

Copy data out of an excel sheet into a field called Assign ID
Copy data out of an excel sheet into a filed called Vendor #

Does anyone have any thoughts on how I can do this? I'm having
problems with the recorder and trying to get the data into the
application that the macro above opened. I would be grateful if
someone could put me on the right track.

Thanks

Eddie


--
punter


------------------------------------------------------------------------
punter's Profile: http://www.excelforum.com/member.php...fo&userid=2044
View this thread: http://www.excelforum.com/showthread...hreadid=552929


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie seeks suggestion on recording new macro to print sheets Vivian New Users to Excel 2 May 10th 06 06:53 AM
Print a range on multiple worksheets on one sheet of paper? RoyalStreet Excel Worksheet Functions 2 March 1st 06 04:25 PM
How do I set a macro to print variable number of pages in excel? Livio Excel Discussion (Misc queries) 1 July 30th 05 12:15 AM
link data to new workbook WYN Excel Discussion (Misc queries) 3 February 28th 05 06:19 AM
How can I print or copy and paste my spreadsheet without my hidden Christy Excel Discussion (Misc queries) 2 February 25th 05 06:03 PM


All times are GMT +1. The time now is 02:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"