Re: 2 Excel questions using automation from VFP9SP2

Author: mbsoftwaresolutions@mbsoftwaresolutions.com

Posted: 2018-09-06 at 15:39:11

No no...despite the name, it's not a count of days; it's a count of the

TIME (hours/minutes) within the workday parameters set.

Counting days would be easy.

On 2018-09-05 18:22, Stephen Russell wrote:

> Idea on network days

> for loop between the days

> insert to a cursor if the DOW if not a weekend.

> count rows of cursor.

>

> Holidays you are on your own :)

>

> On Wed, Sep 5, 2018 at 4:35 PM

> <mbsoftwaresolutions@mbsoftwaresolutions.com>

> wrote:

>

>> See screenshot for case matter:

>> https://www.screencast.com/t/VNdRiSd1D

>>

>> 1) (rose highlight) I've forgotten how to get Excel to close without

>> asking me this every time. Currently, I'm just calling the .Quit()

>> method of my Excel object. I tried passing a .T. parm but that

>> failed.

>>

>> 2) (yellow highlight) Anybody know how to get this slick NETWORKDAYS

>> formula to work in VFP? Would be neat to have this and I thought

>> perhaps someone already built it.

>>

>> tia,

>> --Mike

>>

>>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/0b9e276fe817c836bfed24930f7d1d1b@mbsoftwaresolutions.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2018 mbsoftwaresolutions@mbsoftwaresolutions.com