You can always borrow through Inter Library Loan at WorldCat, see:
http://www.worldcat.org/title/42nd-virginia-infantry/oclc/10850515/editions?editionsView=true&referer=br
But, when you look at their listings, it appears that it is available as an Ebook.