View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
JE McGimpsey JE McGimpsey is offline
external usenet poster
 
Posts: 4,624
Default ExecuteExcel4Macro "SET.PRINT.AREA" Syntax

Try using R1C1 references:

ExecuteExcel4Macro "SET.PRINT.TITLES(""R2"","""")"

In article . com,
"marwan" wrote:

I tried many suntax but they all fail
for example
ExecuteExcel4Macro "SET.PRINT.TITLES(""$2:$2"","""")"
It passes and does not generate an error but the desired rows (or
columns) does not repeat, and nothing appear in the UI dialog box that
shows the rpeating rows and columns.
What is the right syntax??