PC Review


Reply
Thread Tools Rate Thread

2003->2007"unable to set the Left header property of the PageSetup

 
 
=?Utf-8?B?TWlyaQ==?=
Guest
Posts: n/a
 
      14th Aug 2007
hi,
i have a macro with the following code:
With ActiveSheet.PageSetup
.LeftHeader = "&D"
the macro is ok in 2003, when i try to run it in 2007 i got the following
message:
"unable to set the Left header property of the PageSetup class"
could you please advice, i need the code to work in both environments.
thanks,
--
Miri Tz.
 
Reply With Quote
 
 
 
 
Gary Keramidas
Guest
Posts: n/a
 
      14th Aug 2007
this works in both versions for me
With ws3.PageSetup
.LeftHeader = "&G"
end with

which shows a picture
and

..LeftHeader = "&D"
shows the date in both versions for me, too.

post the code

--


Gary

"Miri" <(E-Mail Removed)> wrote in message
news:5EA9A4C9-DCA4-460C-8591-(E-Mail Removed)...
> hi,
> i have a macro with the following code:
> With ActiveSheet.PageSetup
> .LeftHeader = "&D"
> the macro is ok in 2003, when i try to run it in 2007 i got the following
> message:
> "unable to set the Left header property of the PageSetup class"
> could you please advice, i need the code to work in both environments.
> thanks,
> --
> Miri Tz.


 
Reply With Quote
 
=?Utf-8?B?TWlyaQ==?=
Guest
Posts: n/a
 
      14th Aug 2007
maybe the code is ok, but in my 2007 i miss the dll or any other
configuration. please advice ...which dll i should look for...
--
Miri Tz.


"Gary Keramidas" wrote:

> this works in both versions for me
> With ws3.PageSetup
> .LeftHeader = "&G"
> end with
>
> which shows a picture
> and
>
> ..LeftHeader = "&D"
> shows the date in both versions for me, too.
>
> post the code
>
> --
>
>
> Gary
>
> "Miri" <(E-Mail Removed)> wrote in message
> news:5EA9A4C9-DCA4-460C-8591-(E-Mail Removed)...
> > hi,
> > i have a macro with the following code:
> > With ActiveSheet.PageSetup
> > .LeftHeader = "&D"
> > the macro is ok in 2003, when i try to run it in 2007 i got the following
> > message:
> > "unable to set the Left header property of the PageSetup class"
> > could you please advice, i need the code to work in both environments.
> > thanks,
> > --
> > Miri Tz.

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to set the LeftFooter property of the PageSetup Class Sierk Microsoft Excel Programming 2 4th Mar 2009 02:37 PM
RE: Unable to set the LeftHeader property of the PageSetup class Barb Reinhardt Microsoft Excel Programming 0 9th Nov 2008 02:32 AM
RE: Unable to set the LeftHeader property of the PageSetup class Barb Reinhardt Microsoft Excel Programming 0 9th Nov 2008 02:28 AM
Unable to set the PaperSize property of the PageSetup class vikram29@gmail.com Microsoft Excel Programming 1 4th Nov 2004 05:28 PM
Unable to Set LeftFooter Property Class PageSetup (ASP) fredlankovich Microsoft Excel Programming 0 23rd Jun 2004 07:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:33 PM.