Re: Can I Use powerpoint to send commands out the serial port?



Hello bradiger,

I did it in Excel, for how see below.
Should be identical in PPT.

I noticed that I had to close the file in order to get the data to be
sent. Hence the 'Close' statement.

If at all possible, to start with, I suggest using some device so that
you can monitor the serial output port and use simple text strings, not
just Chr() . It can be highly frustrating when you get no results.

Sub send_to_com1_motor4()
Open "Com1:9600,n,8,1" For Output As #1
'Print #1, Chr(128); Chr(0); Chr(9); Chr(33);
Close #1
End Sub

HTH,
Leef_me

.



Relevant Pages

  • Re: PP 2003 importing excel files
    ... make sure the spreadsheets have been saved using Excel ... 2003 before you try using them in PPT 2003. ... HTH, ... locking up PC getting message that I'm out of memory) importing excel ...
    (microsoft.public.powerpoint)
  • Re: Managing a PPT project judiciously
    ... In Excel or in PPT? ... > Then I will have various other folders to store stuff and keep it neat, ... >>kind of reports having lets say Y slides and then Z number of Class 2 kind ...
    (microsoft.public.powerpoint)
  • Re: Excel spreadsheet embedded in Powerpoint presentation
    ... embeds the entire Excel workbook into PPT each time. ... Save that file in the same folder (there are easier/but require VBA ...
    (microsoft.public.powerpoint)
  • Re: Pasted links from excel to PPT not working
    ... PPT and yet it does not work in the stated way in my original post. ... Create your chart in Excel then select it, or select an already created chart. ...
    (microsoft.public.powerpoint)
  • Re: Managing a PPT project judiciously
    ... > Shape names and Shape tags have a lot of similarities in concept (easy ... In Excel or in PPT? ... >>> task that can be made easy by maintaining lists in Excel. ...
    (microsoft.public.powerpoint)