#1
|
|||
|
|||
Opening word document from excel 2013
Hi, I'd like to open a word document and export data to it. I used to be able to do this in Excel 2003 (having been away for a while). In Excel 2013 this is no longer possible.
This is / was my code: Sub Rapport_Xl_to_Word() Dim Navn1, Navn2 As String Dim dato As Date 'Dim wordapp As New Word.Application Set wordapp = CreateObject("Word.Application") 'dato = Format(Now, "dd-mm-yyyy") With wordapp .Visible = True .Documents.Open Filename:="C:\Desktop\Økonomirapport.docx" .......... End With End Sub Where is the problem? Thanks for any help provided! |
#2
|
|||
|
|||
Ok. It's been too long. The issue was the I didn't input the correct file location. Go figure...
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Word 2013 not opening | wolfie138 | Word | 1 | 01-05-2016 03:39 AM |
Excel 2013 File Opening | Arrgh | Excel | 1 | 05-07-2015 03:19 PM |
2013 Upgrade Causes slow opening of Document | ptmuldoon | Word | 1 | 01-04-2015 05:05 PM |
Word Document Not Opening With Excel VBA | JennEx | Word VBA | 3 | 06-20-2013 10:10 AM |
Get just grey box when opening Excel Document 2010 | sebbero | Excel | 1 | 11-10-2010 04:24 AM |