VBA Word Macro: Save As existing .docx file name with standard prefix -


i trying construct macro takes active document , saves same file name adds non-variable prefix.

the document working has hyperlinks, which, according internet, appears reason unable use code:

sub saveasdigital() ' ' flatten macro ' ' activedocument.saveas2 filename:=activedocument.path & application.pathseparator & "digital_" & activedocument.name  end sub 

this returns run-time error '4198' relates hyperlinks being present in document (i cannot afford rid of these)

any appreciated!thanks!


Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -