View Single Post
 
Old 04-22-2014, 06:38 AM
boki_s78 boki_s78 is offline Windows 7 64bit Office 2013
Novice
 
Join Date: Apr 2014
Posts: 3
boki_s78 is on a distinguished road
Default Word 2013 problems with the Macros

Hello,

I just upgraded Office 2003 to 2013. Those macros which i used in 2003 are not working anymore. The main isue is that i used the following commands:


Sub Makro1()
'
' Makro1 Makro
'
'
RecentFiles(1).Open
ActiveWindow.View.Type = wdWebView
If ActiveWindow.View.SplitSpecial = wdPaneNone Then
ActiveWindow.ActivePane.View.Type = wdPrintView
Else
ActiveWindow.View.Type = wdPrintView
End If
End Sub


This command above is used to Switch the Wiew from Pagelayout to Weblayout and back again. It worked on Word 2003. On Word 2013 it's not working. This command was necessery when using word temlpates which need to refresh links connected to database. I hope i am not the only one how has the same issue.

I'd really appreciate it very much if someone could help me out how to solve this problem.

Thanks, Boris
Reply With Quote