LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Formula to VBA codes

is there any way to do this using VBA?

=-(IF(AND(WEEKDAY(A1,2)<6,MOD(A1,1)17/24),1,0)+WEEKDAY(A1,2)6)+2*(IF
(AND( WEEKDAY(A1,2)<6,MOD(A1,1)17/24),1,0)+WEEKDAY(A1,2)5)+A1

thanks
 
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
formula for Canadian postal codes LB Excel Worksheet Functions 7 July 18th 07 12:07 AM
Convert Column Formula into VBA codes tqm1 Excel Discussion (Misc queries) 0 July 6th 07 01:28 PM
Tricky Formula Codes *** Urgent *** SweetSin80 Excel Discussion (Misc queries) 3 February 14th 06 01:36 AM
Tricky Formula Codes ***Urgent*** SweetSin80 Excel Discussion (Misc queries) 2 February 13th 06 09:27 PM
Formula to look up zip codes mikeburg Excel Discussion (Misc queries) 4 January 21st 06 07:25 PM


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