LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Talking to a Perl script

~× wrote...
...
There are three areas I need help on:
1) Do I have an alternative to SendKeys?


Yes, but you'll need to determine the pathname for the perl executable
You're almost certainly taking advantage of the PATHEXT environmen
variable and file associations.

From a console prompt (aka DOS prompt) issue the commands

assoc .pl


which should return something like

.pl=Perl

then

ftype Perl


(replacing 'Perl' with whatever is on the right hand side of the '=' i
the assoc comand's result). ftype's result should show the command lin
you'd need to use in Excel/VBA.

Then search for the function ShellAndWait in this newsgroup in Googl
Groups Advanced Search.

2) Could I have considered reading the binary file in Excel? If so
any hints or tips to get me started looking in the right direction
would be terrific.

...

Not reliably. It'd be a better idea to scrap Excel entirely and creat
the reports in Perl (after all, the 'r' in Perl stands for 'Reporting
when it doesn't stand for 'Rubbish')

--
Message posted from http://www.ExcelForum.com

 
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
excel, install perl script 2apart Excel Discussion (Misc queries) 0 March 26th 08 11:28 PM
Convert prl (Perl?) to xls or csv Steve Excel Discussion (Misc queries) 0 March 3rd 08 03:07 PM
Excel Not Talking To Outlook [Email Settings] wkwork Excel Discussion (Misc queries) 1 September 1st 05 07:21 PM
Excel and Access talking GJR3599 Excel Discussion (Misc queries) 0 March 29th 05 04:59 PM
Initiate perl script in linux from a Windows VBA program bwreath Excel Programming 0 June 4th 04 05:49 PM


All times are GMT +1. The time now is 12:09 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"