XL5: Problems Running or Recording Macro to Set Print Title |
In Microsoft Excel version 5.0, if you use the Set Print Titles
command (with Microsoft Excel 4.0 menus displayed) to set a print
title while the macro recorder is running, one of the following
occurs:
If you choose Set Print Titles from the Options menu with the Microsoft Excel 4.0 menus displayed, while the macro recorder is running, a command similar to the following is recorded:
ExecuteExcel4Macro "SET.PRINT.TITLES(Rows("1:1"),Columns("C:C"))"
You receive a syntax error when you run this procedure.
Sub Set_Print()
With ActiveSheet.PageSetup
' Replace $1:$1 with the desired range
.PrintTitleRows = "$1:$1"
' Replace $A:$A with the desired range
.PrintTitleColumns = "$A:$A"
End With
End Sub
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in a later version of Microsoft Excel.
For more information about Printing Titles On Multiple Pages, choose the Search button in Help and type:
titles
Additional query words: err msg gpf hang
Keywords :
Version : 5.00
Platform : WINDOWS
Issue type :
Technology :
|
Last Reviewed: September 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |