Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 47
Default controlling another program from Excel

Charlie,

have you tried opening the files from in Excel. It would save a lot of
trouble, and simplify the resulting code a great deal.

Try recording a macro to open the works sheet and then save as excel file.

Steve
"Charlie" wrote in message
...
Is it possible to control another program from within an Excel macro?
What I'm thinking of is converting a lot of MS Works spreadsheets to
Excel. To do this I open Works, load a spreadsheet, and then save it
as an Excel file. There don't seem to be any macro capability within
Works, so if I could do this from Excel VBA, I think I could automate
the entire process.
--
Charlie Hoffpauir
http://freepages.genealogy.rootsweb.com/~charlieh/
If you really want to reply via email, my valid
address is available on my web site.



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default controlling another program from Excel

On Fri, 01 Aug 2003 08:06:10 GMT, "Steve Smallman"
wrote:

Charlie,

have you tried opening the files from in Excel. It would save a lot of
trouble, and simplify the resulting code a great deal.

Try recording a macro to open the works sheet and then save as excel file.

Steve
"Charlie" wrote in message
.. .
Is it possible to control another program from within an Excel macro?
What I'm thinking of is converting a lot of MS Works spreadsheets to
Excel. To do this I open Works, load a spreadsheet, and then save it
as an Excel file. There don't seem to be any macro capability within
Works, so if I could do this from Excel VBA, I think I could automate
the entire process.
--
Charlie Hoffpauir
http://freepages.genealogy.rootsweb.com/~charlieh/
If you really want to reply via email, my valid
address is available on my web site.


Steve,

Maybe I'm missing something...

Excel won't open the Works spreadsheet file. What I was thinking of
doing is to give commands from an Excel macro (using DDL or SendKeys
or whatever is available in Excel) to command Works to open the
file(s), and then save it in a file type that Excel can open. I can do
all this by hand, switching to Works and giving the commands, but I
was hoping to automate the process.

Since I'm much more familiar with VBA inWord, I'm presently trying to
give the commands from within a Word macro, and I've "almost" got it
working. The problem seems to be that Word passes the commands to
Works before Works finishes executing the previous command, and things
get screwed up.
--
Charlie Hoffpauir
http://freepages.genealogy.rootsweb.com/~charlieh/
If you really want to reply via email, my valid
address is available on my web site.
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
Stacked Line Chart - Excel 2007 - Controlling the separation Harry Charts and Charting in Excel 2 January 20th 10 07:45 PM
Is there a way to unload the loaded XLL file in Excel? Hi all, I amdebugging XLL link library using Visual C++. Everytime I rebuild the XLL, Ihave to close the whole Excel program and relaunch the Excel program again,and then load in the newly gene LunaMoon Excel Discussion (Misc queries) 0 July 28th 08 11:03 PM
Controlling line colors/styles in excel charts Rich Charts and Charting in Excel 2 July 8th 06 02:16 PM
Controlling text in an Excel worksheet sprice Excel Worksheet Functions 1 September 10th 05 12:41 AM
Controlling excel chart axis Rain Charts and Charting in Excel 1 January 20th 05 01:15 AM


All times are GMT +1. The time now is 10:01 AM.

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

About Us

"It's about Microsoft Excel"