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

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -