ADCIN x, myvar

where x is the AD channel where you connected the voltage divider we were talking before.

If it is on pin 18, channel 1 then x=1 and so on.

Ioannis