Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default ExecuteExcel4Macro "SET.PRINT.AREA" Syntax

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??

  #2   Report Post  
Posted to microsoft.public.excel.programming
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??

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default ExecuteExcel4Macro "SET.PRINT.AREA" Syntax

Thanks a lot.
It Worked

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
correct syntax for nesting "if", "and", and "vlookup"....if possib Christine Excel Worksheet Functions 4 January 2nd 09 10:43 PM
Charts on a "Common Print Area" Bob Barnes Excel Discussion (Misc queries) 0 June 1st 07 01:38 AM
Excel: Narrow print area to wrap to 2nd "column" on page wood nerd Excel Discussion (Misc queries) 1 May 4th 06 02:24 AM
Excel: Narrow print area to wrap to 2nd "column" on page wood nerd Excel Discussion (Misc queries) 0 May 4th 06 12:11 AM
What are the System Tables named "Print Area" & "Print Titles"? Tom Ogilvy Excel Programming 1 August 18th 03 05:38 PM


All times are GMT +1. The time now is 10:55 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"