小弟英文不好,没看明白他的帮助,谁有代码贴一些来啊,谢谢
解决方案 »
- VB查询ACCESS数据库中的历史数据
- 有关下载功能的问题,请高手解答!
- 用关闭按钮关闭窗体时出现“对象关闭时,操作不被允许”的错误!!(菜鸟级)
- xiaohei728小跳蚤谢谢你啊。
- 请高手们帮我解决一个附件文件处理问题,谢谢大家了
- 最最基础的问题,,哪位帮在下解答一下,高分赠!(再次~)
- 如果两个控件重叠在一起了,有什么属性可以设置哪个控件在上边,另一个控件在下边吗?
- 怎样编写一段VB程序修改显示器的分辨率?
- 打开word文件的一个问题
- 【新手提问】怎样做到:点击右上角的“×”而不关闭form?
- 感觉自己真的无知,竟然才知道GetPixel的返回值是与设备相关的
- spread 控键中如何设置
.PageViewType = 2
.PageViewPercentage = 100
.PageViewType = 2
.hWndSpread = fpSpread4.hWnd
End With
.PrintHeader = "/c/fz""24""/fn""华文新魏""/fb1订购单" & _
"/n/fz""10""/fn""宋体""/l客户:" & TexClient.Text & "/c单据编号:" & TexBillNum.Text & "/r打印时间:/date /time" & _
"/n/l操作员:" & PubStrUserName & "/cPage /p Of /pc/r经手人:___________________"
.PrintJobName = "订购单"
.PrintMarginTop = CDbl(MasBoxTop.Text) * 515
.PrintMarginBottom = CDbl(MasBoxDown.Text) * 515
.PrintMarginLeft = CDbl(MasBoxLeft.Text) * 515
.PrintMarginRight = CDbl(MasBoxRight.Text) * 515
If OptVertical.Value = True Then
.PrintOrientation = PrintOrientationPortrait
Else
.PrintOrientation = PrintOrientationLandscape
End If
If OptAll.Value = True Then '打印所有
.PrintType = 0
ElseIf OptSelect.Value = True Then '打印所部分
.Col = .SelBlockCol
.Col2 = .SelBlockCol2
.Row = .SelBlockRow
.Row2 = .SelBlockRow2
.PrintType = 1
ElseIf OptCurrently.Value = True Then '打印当前页
.PrintType = 2
ElseIf OptPage.Value = True Then '打印指定页
.PrintPageStart = CInt(TxtBPage.Text)
.PrintPageEnd = CInt(TxtEPage.Text)
.PrintType = 3
End If
SpreadPreview.hWndSpread = .hwnd
End With