Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In Excel VBA, seems like all I have to do is select a row and invoke
..HPageBreaks.Add. viz: ----------------------------------------------------------- Rows("36:36").Select ActiveWindow.SelectedSheets.HPageBreaks.Add Befo=ActiveCell ----------------------------------------------------------- But from MS Access VBA, .HPageBreaks seems tb read-only. e.g. ----------------------------------------------------------- 3300 With theSS.Worksheets(theWorkSheetName) 3301 .Rows(myLastTargetRow + 1).Select 3302 .HPageBreaks.Add befo=.ActiveCell 3309 End With ----------------------------------------------------------- traps out with "Line 003302 0438: Object doesn't support this property or method" And when I invoke View | Object Browser | Excel | WorkSheet | HPageBreaks, it describes it as "read-only". My first suspicion is that I'm doing something goofy with my object reference - like looking in the wrong place in the model or at the wrong model. Can anybody shed some light? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
INSERTING ROWS IMMEDIATELY AFTER PAGE BREAK | Excel Discussion (Misc queries) | |||
Inserting page break | Excel Discussion (Misc queries) | |||
Inserting A row & page break | Excel Programming | |||
Inserting header @ page break | Excel Discussion (Misc queries) | |||
Inserting rows before page break | Excel Programming |