Solved

Open excel documents

Posted on 2001-06-10
5
249 Views
Last Modified: 2013-11-20
Hi!
Is there any way of opening a excel file? Does any know how you use ms excels dll files.
0
Comment
Question by:swingfly
5 Comments
 
LVL 1

Expert Comment

by:nrajan
ID: 6173980
Using Microsoft DDE (Dynamic Data Exchange) you can porgramatically do almost everything that Excel does with its files.
0
 
LVL 2

Accepted Solution

by:
MadYugoslav earned 50 total points
ID: 6176087
First question:
To open Excell (or any registered file type) You can use ShellExecute(HWND hParent, "open", PathName, NULL, NULL, SW_SHOWNORMAL);

Second question:
How to use Excell dll files ?
I don't know what You mean by that. You can use (as nrajan post) DDE commands for modify excell document.
0
 

Author Comment

by:swingfly
ID: 6177631
Hi.
Where can you get more documentation about this ShellExecute function?.
I want to open a excel file, and then pop values from a specific COL and ROW.

Like :
..
ExcelObj eobj = ShellExecute(XXX);
int x = eobj.getValueAt(row, col, type);
..

/Henrik
0
 
LVL 2

Expert Comment

by:MadYugoslav
ID: 6180071
This is previously asked question that I already answer:

What are possible DDE commands for WinWord ?
Question is what are possible pairs of Topic-Item !
Possible Topics are System and filenames of all open Documents:
- System
- [FileName 1]
- [FileName 2]
- ...
- [FileName N]
Possible Items are:
- all of Word Basic functions
 (see: [Microsoft Word Visual Basic Help] [Command Reference] for list)
- Visual Basic functions that have equivalent in WordBasic commands
 (see: [Microsoft Word Visual Basic Help]
 [Visual Basic Equivalents for WordBasic Commands] for list).

This is the same thoing with Excell.
0
 
LVL 23

Expert Comment

by:Roshan Davis
ID: 9484596
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Answered by : MadYugoslav

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Roshan Davis
EE Cleanup Volunteer
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Separate into files by filename 12 82
Separate files macro - Errors on larger data set 18 69
zeroFront challenge 7 94
Problem to App 4 78
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now