LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 108
Default EXCEL VERSION & VBE FUNCTIONALITY

Roedd <<Bob Phillips wedi ysgrifennu:

The AddressOf came in in Excel 2000 (although it can be emulated with
Excel97, Version 8).

Application.hwnd property, came in in Excel XP/2002 (version 10)


In earlier versions of Excel, the hwnd workaround was:

Private Declare Function FindWindow Lib "user32" _
Alias "FindWindowA" (ByVal _
lpClassName As String, ByVal _
lpWindowName As String) As Long

Function GetAppHWnd() As Long
Application.Caption = "__@" & CStr(Rnd())
GetAppHWnd = FindWindow("XLMAIN", Application.Caption)
Application.Caption = Empty
End Function

For the Addressof workaround in Office97 see he

http://mc-computing.com/Databases/MS.../AddressOf.txt

Rob


 
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
Saving a newer version of Excel using an older version (Excel 97) Alain Dekker Excel Discussion (Misc queries) 7 April 3rd 10 11:02 PM
How do I save an Excel 97-2003 version or 2007 version for Mac 200 Bronigal Excel Discussion (Misc queries) 1 December 7th 09 08:04 AM
OS Version impact on Excel functionality Peter-d Excel Worksheet Functions 1 March 23rd 06 12:15 AM
Recover earlier version of excel sheet after new version saved? stephanie38 Excel Discussion (Misc queries) 3 June 17th 05 03:52 AM
How can I update the version of Excel 2000 9.0 to version 10.0 Ramsey Can Excel Discussion (Misc queries) 1 May 11th 05 03:28 PM


All times are GMT +1. The time now is 06:03 PM.

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"