View Single Post
  #10  
Old 01-29-2011, 10:26 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,013
Cast the macro values to integers so that integer rather than string comparisons will be performed:

NUMBER_OF_FAILED_PROJECTS=CLng(Project.Macros("NUM BER_OF_FAILED_PROJECTS").Value)
CURRENT_COMPILE_NUMBER=CLng(Project.Macros("CURREN T_COMPILE_NUMBER").Value)
COMPILE_TIME=CLng(Project.Macros("COMPILE_TIME").V alue)
...
Reply With Quote