Saving a layer file with a relative path

Discussion created by mpicker on Jul 24, 2011
Latest reply on Jul 26, 2011 by jhauck-esristaff
Hi there,

Is someone out there able to show me how I go about saving a shapefile in ArcMap as a layer file (.lyr) that has a relative path in vba? A bit of code would be really appreciated.

The idea is after I have run my code and output all the layer files I can move the shapefiles and their associated layer files from a local drive which I use for processing my data to another location where other people can use it.