Jesse, are you on Vista now?
Yeah.
Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!
Jesse, are you on Vista now?
Yeah.
Since I can't afford a new Tivo right now anyway, I think the TruWay stuff sounds pretty darn neat. I assume it means more HD channels too. Whee!
Any Excel VBA gurus around? I've written a bunch of macros that use this nifty functionality that lets me call an Attachmate Extra 3270 session from within the macro. Using the GetObject function, the Attachmate app opens, I automagically connect to a session and can send information back and forth between the two apps. It's really useful for copying and pasting data from my company's mainframe into a spreadsheet. It works great and has saved me a lot of work.
The problem is when I have other people run the same macro. For some people, it works fine; for others, the Attachmate application doesn't open and the macro ends without doing anything.
I can't for the life of me figure out why it works for some people and not others. We're all using Windows XP Pro and the same versions of Excel and Attachmate. Could admin privileges have something to do with it? I have them, but the other people might not.
Errrhg. It's not about whether you're an administrator. It worked fine on someone's machine here who's not.
How are you liking it Jesse?
I'm going to have to get used to it. Really, once I get all the settings straightened out, I'm sure I won't even notice it -- especially given that we already have Office 2007 here at work.
Jon B., does everyone have the exact same installation of Office? Maybe some were installed with the scripting option (or whatever it's called during installation) selected, and some without? Anyway, if you haven't already, I'd start by verifying that macros work at all on the "bad" machines....
Macros, in general, do work on all the machines. Actually, it turns out that one person whose machine I thought didn't run the Attachmate macro, DOES run the macro. This changes some of my earlier assumptions. It may be related to the version of Attachmate after all. I need to test on some more machines and will report back.
Jon, does the macro report any errors when it runs? Can you put in some error-trapping in the code that does the connection? Failing that (eta: if that doesn't give you the error), once your macro has instantiated the object, are there any properties you can read regarding its status?
eta²: or you could put a Stop in the code and step through to see where the problem is....
Jon, does the macro report any errors when it runs?
Run-Time error '429'
ActiveX component can't create object.
It bombs on the CreateObject or GetObject functions.
It's almost definitely related to the version of Attachmate. I'm using Attachmate Extra! 6.5. The folks on whose machines it bombs are using Attachmate Extreme! 8.0.
I wish I was making up the names of those programs.