|
Данные в колонтитуле
|
|||
---|---|---|---|
#18+
Напомните, плз, как в колонтитул Экселя вставить данные из другого файла (типа данных в ячейке с обновлением)... Спасибо. Stepler (щёлк-щёлк!!) ... |
|||
:
Нравится:
Не нравится:
|
|||
13.08.2004, 08:57 |
|
Данные в колонтитуле
|
|||
---|---|---|---|
#18+
Тишина...., наверное все в отпусках... Тогда делаем по принципу "Jojo": отвечаю сам себе: делаю по следующему скелету Sub Макрос() Sheets("2").Select Range("B2").Select Application.CutCopyMode = False Selection.Copy Sheets("1").Select Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ :=False, Transpose:=False tt = Range("A1") With ActiveSheet.PageSetup .PrintTitleRows = "" .PrintTitleColumns = "" End With ActiveSheet.PageSetup.PrintArea = "" With ActiveSheet.PageSetup .LeftHeader = "" .CenterHeader = tt .RightHeader = "" .LeftFooter = "" .CenterFooter = "" .RightFooter = "" .LeftMargin = Application.InchesToPoints(0.787401575) .RightMargin = Application.InchesToPoints(0.787401575) .TopMargin = Application.InchesToPoints(0.984251969) .BottomMargin = Application.InchesToPoints(0.984251969) .HeaderMargin = Application.InchesToPoints(0.5) .FooterMargin = Application.InchesToPoints(0.5) .PrintHeadings = False .PrintGridlines = False .PrintComments = xlPrintNoComments .PrintQuality = 600 .CenterHorizontally = False .CenterVertically = False .Orientation = xlPortrait .Draft = False .PaperSize = xlPaperA4 .FirstPageNumber = xlAutomatic .Order = xlDownThenOver .BlackAndWhite = False .Zoom = 100 .PrintErrors = xlPrintErrorsDisplayed End With Range("A1") = "" End Sub Понимаю, что коряво..., но отшлифовывать нет времени. Если есть предложения красивее решить задачу - буду рад ознакомиться. Stepler (щёлк-щёлк!!) ... |
|||
:
Нравится:
Не нравится:
|
|||
13.08.2004, 10:58 |
|
|
start [/forum/topic.php?fid=61&fpage=375&tid=2186656]: |
0ms |
get settings: |
9ms |
get forum list: |
15ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
31ms |
get topic data: |
14ms |
get forum data: |
2ms |
get page messages: |
51ms |
get tp. blocked users: |
1ms |
others: | 324ms |
total: | 455ms |
0 / 0 |