Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I need to define title rows via VBA (Excel 2002). --- Dim objWS As Worksheet Set objWS = ActiveWorkbook.Worksheets("Stueckliste") ' ActiveWorkbook.Worksheets("Stueckliste").Select objWS.Activate With objWS.PageSetup ' .PrintTitleRows = objWS.Rows("1:11").Address <--- 1004 .PrintTitleRows = "$1:$11" <--- 1004 .PrintTitleColumns = "" --- On some PCs I get the error "1004 - Die PrintTitleRows-Eigenschaft des PageSetup-Objektes kann nicht festgelegt werden". (I do not know what is the exactly description in English). On my own PC (and other ones) this is no problem! I do not know what is the problem. Has anyone an idea what goes wrong? Thank you Regards Kerstin |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Please check whether printer is installed in other PCs
If this post helps click Yes --------------- Jacob Skaria "Kerstin Schiebel" wrote: Hi, I need to define title rows via VBA (Excel 2002). --- Dim objWS As Worksheet Set objWS = ActiveWorkbook.Worksheets("Stueckliste") ' ActiveWorkbook.Worksheets("Stueckliste").Select objWS.Activate With objWS.PageSetup ' .PrintTitleRows = objWS.Rows("1:11").Address <--- 1004 .PrintTitleRows = "$1:$11" <--- 1004 .PrintTitleColumns = "" --- On some PCs I get the error "1004 - Die PrintTitleRows-Eigenschaft des PageSetup-Objektes kann nicht festgelegt werden". (I do not know what is the exactly description in English). On my own PC (and other ones) this is no problem! I do not know what is the problem. Has anyone an idea what goes wrong? Thank you Regards Kerstin |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
YES :-))))
(the actual default printer had a problem with the connection) Thank you very much! Kerstin "Jacob Skaria" schrieb im Newsbeitrag ... Please check whether printer is installed in other PCs If this post helps click Yes --------------- Jacob Skaria .... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to define how may rows or columns are present in excel 03 | Excel Discussion (Misc queries) | |||
Define a range of rows having the same value in one column | Excel Programming | |||
Define a range containing the first 10 rows of a filtered list | Excel Worksheet Functions | |||
Define name, count rows problem. | Excel Programming | |||
pivot table - Can I pre-define rows and columns? | Excel Discussion (Misc queries) |