Classification:  UNCLASSIFIED 
Caveats: NONE

I found an example which may help

On the following open pdf

http://remedy.ccit.arizona.edu/officialdocs/6.3/Integrating.pdf

Page 171 has an example of how to do this with DDE.

I have done this before (it's been a while), but I remember the
following:

1. Set up Tools, Options, Enable Report to Applications in the User Tool
2. Create a DDE.INI in your Home directory. Use the example on Page 171
or the examples in Remedy User help
3. If you use the example in Remedy User help you can output test data
to help record the VBA Macro in Excel
4. Record the VBA Macro in MS Excel with a chart (as seen on page 171)
or whatever (pivottables are cool)
5. Name the VBA Macro. You will use this in the DDE.INI (see page 171
for syntax on "Command2")
6. Try running a report using the raw VBA macro and the Export to
Applications capability in the Remedy Report Writer
7. If it works, attach a button to the report using Open Window, etc.
8. The tough part is to make it work for any data set. This will require
the adjustment of the VBA code to perform Relative addressing rather
than Absolute (which is what you get when you record the VBA macro).
9. Remember Microsoft Office products integrate with each other so you
can integrate with any of the Microsoft products using this technique
(Bill Gates is to be congradulated on this. Think about what Microsoft
did. Outlook can talk to Word. Word can talk to Excel. Excel can talk to
Access. Heck you could probably talk to MS Project and Visio if you
wanted. For other reasons I am not a Bill Gates fan, but he did good on
Microsoft Office, etc.) 

You'll be amazed with what you can do when the two link up and you start
seeing results.

Gordon M. Frank
DISA\Version FNS


-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Mayfield, Andy L.
Sent: Tuesday, December 11, 2007 2:23 PM
To: [email protected]
Subject: DDE vs. OLE

I have a need to have some data from a form sent to an existing excel
spreadsheet. I was thinking of using DDE, but from what I've read it
sounds as though I may be better of in the long run using OLE. 

I wanted to be sure OLE would do what I needed before I wasted my time
trying.  

I've been asked to see if I can have Remedy open a pre-existing
spreadsheet (lots of VB in the background) and place certain data from a
form into the correct cells on the spreadsheet. I have no control of the
spreadsheet itself, but I might be able to get the owner to make
modifications if I need to.

Is this possible using OLE?


Tanks All,

Andy L. Mayfield
Sr. System Operation Specialist
Alabama Power Company
Office: 205-226-1805
Cell: 205-288-9140
SoLinc: 10*19140 

________________________________________________________________________
_______
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum
Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"
Classification:  UNCLASSIFIED 
Caveats: NONE

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Reply via email to