D
Dstarss
I received some help from Jay Freedman regarding themes in Word 2007, and I thought it would work the same in PowerPoint, but I'm either doing something wrong or it doesn't
I'm trying to change the default theme using this macro, but all I get is Run-time error '424': Object required
Any ideas
Sub AutoOpen(
Dim ThemePath As Strin
Dim ThemeFile As Strin
ThemeFile = "MyTheme.thmx
ThemePath = Options.DefaultFilePath(
wdUserTemplatesPath) &
"\Document Themes\
On Error Resume Nex
ActiveDocument.ApplyDocumentTheme
ThemePath & ThemeFil
If Err <> 0 The
MsgBox ThemeFile & " was not found in" &
vbCr & ThemePat
End I
End Sub
I'm trying to change the default theme using this macro, but all I get is Run-time error '424': Object required
Any ideas
Sub AutoOpen(
Dim ThemePath As Strin
Dim ThemeFile As Strin
ThemeFile = "MyTheme.thmx
ThemePath = Options.DefaultFilePath(
wdUserTemplatesPath) &
"\Document Themes\
On Error Resume Nex
ActiveDocument.ApplyDocumentTheme
ThemePath & ThemeFil
If Err <> 0 The
MsgBox ThemeFile & " was not found in" &
vbCr & ThemePat
End I
End Sub