能直接把MSFlexGrid控件中的内容打印出来吗?怎么做?

解决方案 »

  1.   

    If MsgBox("你是否要打印此表格?" & vbCrLf & "如果打印,请等待打印作业.....", 4 + 32 + 256, "打印") = vbYes Then
                    Printer.ScaleMode = vbCentimeters
                    Printer.PaintPicture MSFlexGrid1.Picture, 2, 2
                    Printer.EndDoc
                End If
      

  2.   

    2、用DataReport作报表 http://www.microsoft.com/china/msdn/technic/develop/vb/0125h.asp
    http://www.yesky.com/20020108/213121.shtml