Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Ludwig Fischer   on Jan 21 In MS Office Category.

  
Question Answered By: Tommy Thompson   on Jan 21

Cld you answer me few questions from your code?

Sub Macro1()
m=4
n=6
taskfinder() // Simply replace it with Call taskfinder.
end sub

Public Sub taskfinder()
task = 1
For i = 1 To n
For j = 1 To m
TF(i) = TF(i) + 1 //Is TF an array?
If it is then it wld work, you just need to declare one global array as TF.
Next
iif(TF(i)<TF(task),task=i,task=task)
Next
End Sub

Share: 

 

This Question has 3 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on defining subroutine in the main program Or get search suggestion and latest updates.


Tagged: