tweedle
Well-known Member
- Joined
- Aug 1, 2010
- Messages
- 1,559
I'm missing the concept.
So I'm inserting word doc into my excel sheet (code below).
I should like to, as in Word, Insert Date.
So far, what I've read has been rather...abstract.
Does anyone have an example of how to insert content into a Word OLE object?
So I'm inserting word doc into my excel sheet (code below).
I should like to, as in Word, Insert Date.
So far, what I've read has been rather...abstract.
Does anyone have an example of how to insert content into a Word OLE object?
Code:
Sub WordObjectMake()
With Sheets("Sheet1")
.Activate
.Range("1:5").Insert xlShiftDown
.Cells(3, 2).Activate
Set OLEObj = .OLEObjects.Add(ClassType:="Word.Document")
End With
End Sub