He does fit the profile perfectly. He's intelligent, but an under-achiever; alienated from his parents; has few friends. Classic case for recruitment by the Soviets.
Verwijderd
Bij mij werkt de macrorecorder wel gewoon:
en voila, alle instellingen zijn aan te passen
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
| With ActiveSheet.PageSetup
.PrintTitleRows = ""
.PrintTitleColumns = ""
End With
ActiveSheet.PageSetup.PrintArea = ""
With ActiveSheet.PageSetup
.LeftHeader = ""
.CenterHeader = ""
.RightHeader = ""
.LeftFooter = ""
.CenterFooter = ""
.RightFooter = ""
.LeftMargin = Application.InchesToPoints(0.75)
.RightMargin = Application.InchesToPoints(0.75)
.TopMargin = Application.InchesToPoints(1)
.BottomMargin = Application.InchesToPoints(1)
.HeaderMargin = Application.InchesToPoints(0.5)
.FooterMargin = Application.InchesToPoints(0.5)
.PrintHeadings = False
.PrintGridlines = False
.PrintComments = xlPrintNoComments
.PrintQuality = 600
.CenterHorizontally = False
.CenterVertically = False
.Orientation = xlLandscape
.Draft = False
.PaperSize = xlPaperA4
.FirstPageNumber = xlAutomatic
.Order = xlDownThenOver
.BlackAndWhite = False
.Zoom = 100
End With |
en voila, alle instellingen zijn aan te passen
Klopt ja. Die kreeg ik ook. Maar dat wilde ik niet hebben.
Hij geeft de waarden die je ingevuld heb bij het Pagina Instelling dialoog. Maar er staat geen methode op bij het scherm te komen die je krijgt als je op de Opties knop drukt.
Hij geeft de waarden die je ingevuld heb bij het Pagina Instelling dialoog. Maar er staat geen methode op bij het scherm te komen die je krijgt als je op de Opties knop drukt.
He does fit the profile perfectly. He's intelligent, but an under-achiever; alienated from his parents; has few friends. Classic case for recruitment by the Soviets.
Gevonden! Het kan via:
code:
1
| Application.Dialogs.(xlDialogPrinterSetup).Show |
He does fit the profile perfectly. He's intelligent, but an under-achiever; alienated from his parents; has few friends. Classic case for recruitment by the Soviets.