Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Problems from changing from Excel 97 to Excel 2002 (Office 97 to Office XP).

We have got an Excel/VBA application working very well
with Excel 97: in dropdown boxes, we were able to double
click an item in a dropdown box to select it using
OLEOBJECTS. As we change to Office XP (Excel 2002), one
problem occurred: now, the very same action wouldn't be
able to select any item from the dropdown box, and there
was NO error message at all. It seems that the program,
for some unknown reason, skips the OLEOBJECTS. Any one
has the similar experience or knows the back-end of Excel
2002? Is there any change in terms of OLEOBJECTS from
Microsoft when their upgrading from Excel 97 to 2002?

..InsertLines .CountOfLines + 1, " strSection =
ActiveSheet.OLEObjects(""OurList"").Object.List
(ActiveSheet.OLEObjects(""OurList"").Object.ListIn dex,1)"

Thanks all!



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Problems from changing from Excel 97 to Excel 2002 (Office 97 to Office XP).

What your code shows is adding code to a procedure. Not sure what that has
to do with the problem described. Unless you are placing your combobox
dynamically, there really shouldn't be a reason to write code dynamically to
get the selection.

--
Regards,
Tom Ogilvy



HELENA wrote in message
...
We have got an Excel/VBA application working very well
with Excel 97: in dropdown boxes, we were able to double
click an item in a dropdown box to select it using
OLEOBJECTS. As we change to Office XP (Excel 2002), one
problem occurred: now, the very same action wouldn't be
able to select any item from the dropdown box, and there
was NO error message at all. It seems that the program,
for some unknown reason, skips the OLEOBJECTS. Any one
has the similar experience or knows the back-end of Excel
2002? Is there any change in terms of OLEOBJECTS from
Microsoft when their upgrading from Excel 97 to 2002?

.InsertLines .CountOfLines + 1, " strSection =
ActiveSheet.OLEObjects(""OurList"").Object.List
(ActiveSheet.OLEObjects(""OurList"").Object.ListIn dex,1)"

Thanks all!





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Problems from changing from Excel 97 to Excel 2002 (Office 97 to Office XP).

yes, while we double click an item in the dropdown box to
select the item, it is associated with queries talking to
middle tier COM objects or database using Oleobjects(?).
The problem we have is that we are unable to double click
an item in the box to select it though the items have been
populated in the dropdown box (we were able to do it WITH
THE VERY SAME CODE in Office 97). What happened to Office
XP?

helena

-----Original Message-----
What your code shows is adding code to a procedure. Not

sure what that has
to do with the problem described. Unless you are placing

your combobox
dynamically, there really shouldn't be a reason to write

code dynamically to
get the selection.

--
Regards,
Tom Ogilvy



HELENA wrote in message
...
We have got an Excel/VBA application working very well
with Excel 97: in dropdown boxes, we were able to double
click an item in a dropdown box to select it using
OLEOBJECTS. As we change to Office XP (Excel 2002), one
problem occurred: now, the very same action wouldn't be
able to select any item from the dropdown box, and there
was NO error message at all. It seems that the program,
for some unknown reason, skips the OLEOBJECTS. Any one
has the similar experience or knows the back-end of

Excel
2002? Is there any change in terms of OLEOBJECTS from
Microsoft when their upgrading from Excel 97 to 2002?

.InsertLines .CountOfLines + 1, " strSection =
ActiveSheet.OLEObjects(""OurList"").Object.List
(ActiveSheet.OLEObjects

(""OurList"").Object.ListIndex,1)"

Thanks all!





.

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
office 2003 run on office 2007 problems??? Bob Excel Discussion (Misc queries) 8 June 10th 09 09:37 AM
Office XP Professional - Excel 2002 Carl Excel Discussion (Misc queries) 5 April 24th 09 05:48 AM
Excel 2002 office xp Help Excel Discussion (Misc queries) 2 April 22nd 08 02:12 PM
Unable to open Office 2007 files using Office 2002 XP GildaBB Excel Discussion (Misc queries) 2 July 20th 07 04:08 AM
Problems from changing from Excel 97 to Excel 2002 (Office 97 to Office XP) Greener Excel Programming 1 October 10th 03 02:06 AM


All times are GMT +1. The time now is 10:52 AM.

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

About Us

"It's about Microsoft Excel"