View Single Post
 
Old 11-22-2020, 10:49 PM
rekent rekent is offline Windows 10 Office 2016
Novice
 
Join Date: May 2014
Posts: 23
rekent is on a distinguished road
Default

This is the code in my "ThisDocument" Microsoft Word Object, but apparently the projectPath variable is never getting set. Any ideas on what is going wrong to prevent the variable from being set?

Code:
Option Explicit
Public projectPath As String
Sub setProjectPath()
  projectPath = "serverURL\projectFolder"
End Sub
Sub OpenForm(control As IRibbonControl)
  ProjectName.Show
End Sub
Reply With Quote