View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
SMH SMH is offline
external usenet poster
 
Posts: 29
Default My VBA code in excel does not work on another PC

Ihave a code with the following line that does not work on other computer

If (StrComp(Application.WorksheetFunction.Trim(state) . "A") =0) Then
call Updatetime - this is another sub routine.

The code reads the cell which has "A" in it but it just does not call up the
sub routine. It works on my machine but does not work on another machine.