View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default How do I print to a printer in VB 6?

You may want to ask in a forum dedicated to VB--not excel.

If you really meant you wanted to print something in excel's vba:

worksheets("Sheet999").printout 'preview:=true
or
worksheets("sheet999").range("x1:Z9").printout 'preview:=true

bnadler wrote:

I am just learning VB6 and I do not see how data is sent to a printer. There
is not a printer method that I can find


--

Dave Peterson