A
Alan
Hi All,
Does anyone know how I can save an embedded object (file) from a
worksheet into a folder on a hard disk?
I have a worksheet with mscal.ocx embedded just in case the user does
not have the calendar control.
I can check to see if they have it already on their hard disk using
VBA, and I know how to register it using VBA, but I don't know how to
actually extract it from the worksheet and save it onto their hard
disk.
I can select the object from the active worksheet using:
ActiveSheet.Shapes("ObjName").Select
and I could then copy it to the clipboard:
Selection.Copy
but pasting it to a folder appears to be outside the scope of the VBA
object model?
Thanks in advance for any suggestions.
Alan.
Does anyone know how I can save an embedded object (file) from a
worksheet into a folder on a hard disk?
I have a worksheet with mscal.ocx embedded just in case the user does
not have the calendar control.
I can check to see if they have it already on their hard disk using
VBA, and I know how to register it using VBA, but I don't know how to
actually extract it from the worksheet and save it onto their hard
disk.
I can select the object from the active worksheet using:
ActiveSheet.Shapes("ObjName").Select
and I could then copy it to the clipboard:
Selection.Copy
but pasting it to a folder appears to be outside the scope of the VBA
object model?
Thanks in advance for any suggestions.
Alan.