Help with REALbasic automating Excel

cheaperThanAPro

Registered
I can't even get the Excel example project from REALbasic to run!

I downloaded the Example Projects when I downloaded the demo. I put the project in the Microsoft Office folder. I hit "Run." If I click on "Create New Worksheet" (in the "Interactive" tab of the project) I get a little bug next to the very first line:

Dim excel as New ExcelApplication​

Now, mind you, that's code from the developer of the programming software. According to every reference I can find, it is correct code. I've tried having Excel already running, I've tried having it closed, I've tried changing the name of the variable from "excel". I'm at an utter loss here. Half my demo time is almost gone (I spent the first week building the interface for my project, and now I'm trying to program it. My boss is not gonna pay for the program if I can't even persuade it to create a new Excel file!

I've tried asking on REALbasic's forum, but I think they're sick of me and my daft questions. So I'm asking here. Does anyone know what's wrong?

Thanks!
 
Back
Top