LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Weekday() result differs from one computer to another ???

Hello,

Don't why I get different a result from one computer to another using the
Weekday and Weekday name functions. I am specifying Sunday as weekday 1 not
using the default and still get different results.

The code I am using is...

WeekdayName(Weekday(StartDate, vbSunday), vbSunday)

On one computer which is correct I get...

1 Sun
2 Mon
3 Tue... etc

On the other I get...
1 Mon
2 Tue
3 Wed... etc

The worksheet function works correctly on both but not VBA. Any help
appreciated.

bobm











 
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
print differs from spreadsheet BillJ Excel Discussion (Misc queries) 0 April 23rd 09 07:38 PM
Chart Axis Differs Between Excel 03 & 07 pdberger Charts and Charting in Excel 1 October 14th 08 05:48 AM
Formula Bar F9 Result differs from cell result??? Aaron Excel Worksheet Functions 3 May 15th 08 06:32 PM
WEEKDAY() function: display TEXT not numeric weekday tom Excel Discussion (Misc queries) 3 November 21st 06 04:32 PM
Aspect ratio of image differs in print Monika Bjurman Excel Discussion (Misc queries) 1 April 29th 05 12:16 AM


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