I have a macro that moves particular files after reload, when I manually define the destination path it works fine but when I define the destination path based on the value of a variable it doesn't move the loaded files to the destination path..
Here's the code:
Function FuncMove(file)
SET dest = ActiveDocument.Variables("vDestination")
destination = dest.GetContent.String-> macro doesn't work if i use this
'dest = "D:\TAENA KA NOEL\Multi Sheet\LoadedWorkbooks\" -> when I use this the function works fine
SET filesys = CreateObject("Scripting.FileSystemObject")