View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Zurn[_5_] Zurn[_5_] is offline
external usenet poster
 
Posts: 1
Default Sub, not function!


Still I get the message:

COMPILE ERROR:
EXPECTED:


PutOnReport("B" & leftChoise * 22 - 15, "A5")
PutOnReport("B" & rightChoise * 22 - 15, "M5")

PutOnReport is a method that puts values from two tests on shee
Report, one test on the left, another on the right.

LeftChoise is the test chosen to be on the left, rightchoise on th
right
A5 is the cell on sheet Report where data from the leftchoise has to b
put, M5 for the right choise.

*why do I get this message and how correct it?

--
Zur
-----------------------------------------------------------------------
Zurn's Profile: http://www.excelforum.com/member.php...fo&userid=1464
View this thread: http://www.excelforum.com/showthread.php?threadid=26374