Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default Problem in Vista

Hello,
I am using Excel automation in my vbasic programming.
All works fine in Windows XP, however under Vista the
moExcelApp.Workbooks.Count returns 0 despite there is the one opened sheet.
Why is that difference?
In both Windows I use the same, Excel 2003 application.
Thanks,
Jack


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default Problem in Vista

After testing it more, I discovered that the problem exists only in the
situation when
UAC is turned on and the program runs as administrator.
When it is run as not administrator then there is not any problem with the
code.
Why it is so? How to explain it?
Any comments appreciated.
Jack

"Jack" <replyto@it wrote in message
...
Hello,
I am using Excel automation in my vbasic programming.
All works fine in Windows XP, however under Vista the
moExcelApp.Workbooks.Count returns 0 despite there is the one opened
sheet.
Why is that difference?
In both Windows I use the same, Excel 2003 application.
Thanks,
Jack



Reply
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 .xlsm / Vista / Speed Problem WCM Excel Programming 12 August 23rd 09 12:57 AM
Excel 2007/Vista - PastePicture Problem Nick H[_3_] Excel Programming 5 March 25th 09 04:41 PM
Unhide Problem in Vista & Excel 2007 stevew Excel Discussion (Misc queries) 6 December 23rd 07 03:20 AM
Excel Vista Problem messing up how Excel Displays? [email protected] Excel Discussion (Misc queries) 4 April 4th 07 07:13 PM


All times are GMT +1. The time now is 04:14 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"