Does excessive computer use lead to nearsightedness?

No. There is no relationship between visual activities and the development or prevention of nearsightedness.
Some say! We know as a society, we are drifting more nearsighted. The studies done in eskimos is rather dramatic. Whether a single person's computer use leads to more nearsightedness is debatable!