Senin, 26 September 2011

[ExcelVBA] Re: Code to Enter Header Information

 

I'm always getting the third row cut off, which should be the Date and time. When you go back and click on the header, it is as if the third row is created, but nothing is there. That is, it does a hard return and creates the row, but nothing else appears.

If I ran the macro to put it in now, I'd want the Header to look like the following:

SFC 052
Brake-092611
09/26/2011 - 9:00 PM

--- In ExcelVBA@yahoogroups.com, "Green" <1z@...> wrote:
>
> Hey Steve,
>
> You know me... The devil is in the details... LOL!
>
> What exactly do you expet and what exactly are you getting?
>
> What's being "cut off"?
> What's the full line of code?
>
> Lisa
>
>
> > Subject: [ExcelVBA] Code to Enter Header Information
> >
> > Hi,
> >
> > I have the following in a code to add information on three lines:
> >
> > .CenterHeader = "&28SFC 052" & Chr(10) & "&20&A" & Chr(10) &
> > "&16&D&"" - ""&T"
> >
> >
> > Its supposed to have "SFC 052" on the top line, the Tab Name
> > on the second line and the Date and Time on the third line.
> >
> > For some reason, it is cutting off the Date & Time third row
> > every time. Any ideas as to why this might be happening,
> > please let me know.
> >
> >
> > Thanks,
> >
> > Steve
>

__._,_.___
Recent Activity:
----------------------------------
Be sure to check out TechTrax Ezine for many, free Excel VBA articles! Go here: http://www.mousetrax.com/techtrax to enter the ezine, then search the ARCHIVES for EXCEL VBA.

----------------------------------
Visit our ExcelVBA group home page for more info and support files:
http://groups.yahoo.com/group/ExcelVBA

----------------------------------
More free tutorials and resources available at:
http://www.mousetrax.com

----------------------------------
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

Tidak ada komentar:

Posting Komentar