Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macro pb in Excel worksheets inserted in Word

  • Thread starter Thread starter -
  • Start date Start date
Status
Not open for further replies.

Guest
I use a macro to automatically update and save an Excel workbook in *.csv type. It works perfectly for any document opened in Excel, but when I use it on an inserted object in Word, it fails...

I have a 1004 error message each time I run my macro on an Excel Worksheet object inserted in Word: the 'DisplayAlert' method from the object '_Application' has failed... I use 'Application.DisplayAlerts = False' in order not to have the confirm msgs pop ups.

How can
 
Dear schwob,
You cannot save an inserted worksheet in a Word document.
You have to write a macro to save the whole Word document.
The a.m. macro should be defined in the Word document.
:)
Farzad
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top