originalxavier
Programmer
I need to switch back and forth between Excel and PowerPoint. I have the code for activating Excel, but when I try to use:
I get a runtime error for a type mismatch.
??????
Xavier ----------------------------------------
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning."
Rich Cook
----------------------------------------
Code:
Dim ppt as New PowerPoint.Application
ppt.Windows("ccc_report.ppt").Activate
I get a runtime error for a type mismatch.
??????
Xavier ----------------------------------------
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning."
Rich Cook
----------------------------------------