Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Is there anyway of using a calendar similar to the VB version in e


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Is there anyway of using a calendar similar to the VB version in e


The calendar object like most excel objects is giving you the version
of the object that was available in windows 2000 to make it forward and
backwards compatible from on everion of windows/Office to any other
version.


The objects like a calendar is really a DLL in you C:\windows\system32
folder. Microsoft has updated all the DLL over time to add new
features. VBA has not upgraded the interfaces to these DLL to matain
compatiblity. so Usually the solution to these problems is to call the
DLL through different interfaces than the standard interfaces provided
in VBA.

For example the file picker dialog box which I use often is part of the
shell32.dll file. In VBA there are at least three methods of getting to
this DLL

1) Use GetOpenfilename
2) use the filedialog : Set fd =
Application.FileDialog(msoFileDialogFilePicker)
3) Access the DLL directly like this code

Declare Function SHGetPathFromIDListA Lib "shell32.dll" ( _
ByVal pidl As Long, _
ByVal pszBuffer As String) As Long

Declare Function SHBrowseForFolderA Lib "shell32.dll" ( _
lpBrowseInfo As BrowseInfo) As Long


I don't know which feature of the calendar you are trying to use so I
don't know which is the best method of solving your problem. I have one
program I wrote that uses the calendar but only for selection a date. I
would need to know more information to help youi.


--
joel
------------------------------------------------------------------------
joel's Profile: 229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=192441

http://www.thecodecage.com/forumz

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Is there anyway of using a calendar similar to the VB version in e

Ron de Bruin has some notes:
http://www.rondebruin.nl/calendar.htm

RustyOnVBA wrote:

--

Dave Peterson
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
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
Strange listbox behavior in version 2003 after version 2007 Russ Excel Programming 1 February 20th 07 03:35 PM
Help Required!!! Macro to load data from version 1 to version 2 [email protected] Excel Worksheet Functions 0 August 23rd 06 07:27 AM
Recover earlier version of excel sheet after new version saved? stephanie38 Excel Discussion (Misc queries) 3 June 17th 05 03:52 AM
Calendar control version conflict? clayton[_7_] Excel Programming 0 February 27th 04 04:05 PM


All times are GMT +1. The time now is 11:27 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"