K
Khalil Handal
I have VBA code for inserting a picture as a header with the following code:
With ActiveSheet.PageSetup
.CenterHeader = "&G"
.CenterHeaderPicture.Filename =
"D:\Rosary\School_System\ROS_Logo.tif"
What changes should be done in order to use the current folder in which the
files are stored in? (If I moved the folder to another drive this will ot
work).
I tried the following in different ways, but no success!
..CenterHeaderPicture.Filename = ("ThisWorkbook.Path & "\ROS_logo.tif")
With ActiveSheet.PageSetup
.CenterHeader = "&G"
.CenterHeaderPicture.Filename =
"D:\Rosary\School_System\ROS_Logo.tif"
What changes should be done in order to use the current folder in which the
files are stored in? (If I moved the folder to another drive this will ot
work).
I tried the following in different ways, but no success!
..CenterHeaderPicture.Filename = ("ThisWorkbook.Path & "\ROS_logo.tif")