&G in Footer

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

I'm using XL 2000, and a colleague sent me a file with &G in the footer. I
don't know what version of XL she was using, nor do I know the origin of the
workbook.

Can someone explain if this has something to do with inserting a graphic in
the footer in XL 2002?

Thanks.
 
Never used XL02, but in XL04 &G is the code to include a picture in the
footer.
 
Steve

Excel 2002 uses &[Picture]...................not &G


Gord Dibben MS Excel MVP
 
But if you look at the recorded code when you insert a picture, that &G rears
its ugly head:

ActiveSheet.PageSetup.LeftHeaderPicture.Filename = _
"C:\My Pictures\mypict.JPG"
With ActiveSheet.PageSetup
.PrintTitleRows = ""
.PrintTitleColumns = ""
End With
ActiveSheet.PageSetup.PrintArea = ""
With ActiveSheet.PageSetup
.LeftHeader = "&G"


Gord said:
Steve

Excel 2002 uses &[Picture]...................not &G

Gord Dibben MS Excel MVP

I'm using XL 2000, and a colleague sent me a file with &G in the footer. I
don't know what version of XL she was using, nor do I know the origin of the
workbook.

Can someone explain if this has something to do with inserting a graphic in
the footer in XL 2002?

Thanks.
 
Thanks to all.



Dave Peterson said:
But if you look at the recorded code when you insert a picture, that &G
rears
its ugly head:

ActiveSheet.PageSetup.LeftHeaderPicture.Filename = _
"C:\My Pictures\mypict.JPG"
With ActiveSheet.PageSetup
.PrintTitleRows = ""
.PrintTitleColumns = ""
End With
ActiveSheet.PageSetup.PrintArea = ""
With ActiveSheet.PageSetup
.LeftHeader = "&G"


Gord said:
Steve

Excel 2002 uses &[Picture]...................not &G

Gord Dibben MS Excel MVP

I'm using XL 2000, and a colleague sent me a file with &G in the footer.
I
don't know what version of XL she was using, nor do I know the origin of
the
workbook.

Can someone explain if this has something to do with inserting a graphic
in
the footer in XL 2002?

Thanks.
 
Thanks Dave


Gord

But if you look at the recorded code when you insert a picture, that &G rears
its ugly head:

ActiveSheet.PageSetup.LeftHeaderPicture.Filename = _
"C:\My Pictures\mypict.JPG"
With ActiveSheet.PageSetup
.PrintTitleRows = ""
.PrintTitleColumns = ""
End With
ActiveSheet.PageSetup.PrintArea = ""
With ActiveSheet.PageSetup
.LeftHeader = "&G"


Gord said:
Steve

Excel 2002 uses &[Picture]...................not &G

Gord Dibben MS Excel MVP

I'm using XL 2000, and a colleague sent me a file with &G in the footer. I
don't know what version of XL she was using, nor do I know the origin of the
workbook.

Can someone explain if this has something to do with inserting a graphic in
the footer in XL 2002?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top