![]() |
|
#1
|
|||
|
|||
![]()
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...
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
wolfie138 | Word | 1 | 01-05-2016 03:39 AM |
![]() |
Arrgh | Excel | 1 | 05-07-2015 03:19 PM |
![]() |
ptmuldoon | Word | 1 | 01-04-2015 05:05 PM |
![]() |
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 |