Zaichik123
Technical User
Unless I am mistaken it is impossible to select an image file (like a company logo) to be added to your header or footer through File/Page setup... (Microsoft Office 2000 Pro)
But I'm sure it must be able to be done through VB, I've been playing around with some code for a hour or so now and I'm sure I'm on the brink of cracking it - can anyone confirm it is definitely possible and save my poor brain before it turns to mush! (if you have the code and could include in your response, I'd be very grateful)
I was initially thinking:
With ActiveSheet.Pagesetup
.RightHeader = ChDir "file location"
Workbooks.Open Filename:= _
"file location"
Range(" ".Select
ActiveSheet.Shapes("Object 1".Select
Selection.Copy
ActiveWindow.Close
Range(" ".Select
ActiveSheet.Paste
But I'm sure it must be able to be done through VB, I've been playing around with some code for a hour or so now and I'm sure I'm on the brink of cracking it - can anyone confirm it is definitely possible and save my poor brain before it turns to mush! (if you have the code and could include in your response, I'd be very grateful)
I was initially thinking:
With ActiveSheet.Pagesetup
.RightHeader = ChDir "file location"
Workbooks.Open Filename:= _
"file location"
Range(" ".Select
ActiveSheet.Shapes("Object 1".Select
Selection.Copy
ActiveWindow.Close
Range(" ".Select
ActiveSheet.Paste