I am trying to replace text in autocad with text from excel. How can this be accomplished? Currently I am accessing the file with the following macro, but am unsure how to complete the task...
' AutoCad Macro
' Macro recorded 12/10/02 by Fred G. Landry
'
'
Sub AutoCad()
Dim Response
Set fs = Application.FileSearch
With fs
.LookIn = "C:\STANDARDS"
.SearchSubFolders = True
.Filename = "AutoBom.dwg"
If .Execute() > 0 Then
ActiveWorkbook.FollowHyperlink Address:="C:\STANDARDS\AutoBom.dwg", _
NewWindow:=True
ActivateWindow = 1
Else
MsgBox "Autocad File Not Found"
End If
End With
End Sub
' AutoCad Macro
' Macro recorded 12/10/02 by Fred G. Landry
'
'
Sub AutoCad()
Dim Response
Set fs = Application.FileSearch
With fs
.LookIn = "C:\STANDARDS"
.SearchSubFolders = True
.Filename = "AutoBom.dwg"
If .Execute() > 0 Then
ActiveWorkbook.FollowHyperlink Address:="C:\STANDARDS\AutoBom.dwg", _
NewWindow:=True
ActivateWindow = 1
Else
MsgBox "Autocad File Not Found"
End If
End With
End Sub