A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook 2k3 Script: Pb While exporting to Excel



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old November 14th 06, 01:12 PM posted to microsoft.public.outlook.program_vba
news.microsoft.com
external usenet poster
 
Posts: 65
Default Outlook 2k3 Script: Pb While exporting to Excel

Hi all,

From an outlook personal Form I export data to Excel,

1 ) I export Item.CreationTime but just want to have the date in this
format dd/mm/yyyy so I put MyDate in a Cell
MyDate =
day(MyItem.CreationTime)&"/"&Month(MyItem.CreationTime)&"/"&
year(MyItem.CreationTime)

Question 1)
In somme cells I have the right result eg: dd/mm/yyyy but in other
I have mm/dd/yyyy
Why ?????

Question 2) Is there A property Creation Date in this format dd/mm/yyyy
I tryed item.startDate but this value isn't always usable

2 ) I try to evaluate Item.CreationTime I Transfomed dates like this
20061113 year*10000+month*100+day
and I try this
A) if 20061005 mydatetransformed and mydatetransformed 20061114
then

B) DateA = 20061005
DateB = 200611014
A) if DateA mydatetransformed and mydatetransformed
DateB then

the Eg: A works but not the Eg: B why ? how can I do ?

Tks a lot


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2k3 Script: ProgressBar while exporting ??? bbnimda Outlook and VBA 2 November 13th 06 08:26 AM
Outlook 2k3 Script: Ordering a combo news.microsoft.com Outlook and VBA 1 November 10th 06 04:05 PM
Outlook 2k3 Script: Exporting Task item to Excel news.microsoft.com Outlook and VBA 5 November 8th 06 04:01 PM
Outlook 2k3: Missing item when task to exporting to excel news.microsoft.com Outlook and VBA 3 November 8th 06 02:38 PM
Outlook 2k3 RPC over HTTP Script vzerbonia Outlook - Installation 0 July 27th 06 07:35 PM


All times are GMT +1. The time now is 07:55 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.