View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Gene Belknap Gene Belknap is offline
external usenet poster
 
Posts: 2
Default Save excel sheet.

Hi

Would it be possible to do something like the following

For i = 1 to NumberOfEmployee
ActiveWorkbook.SaveAs Filename:="C:\TEMP\" & Employee(i) & ".prn", FileFormat:= xlTextPrinter, CreateBackup:=Fals
Nex

This would allow you to loop through your list of employees and do a "SaveAs" in an automated fasion and have the SaveAs save to a .prn file

HTH

-Gene