Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 06-22-2023, 04:35 AM
ksor ksor is offline Inserting a Footer if it doesn't exist ??? Windows 10 Inserting a Footer if it doesn't exist ??? Office 2016
Advanced Beginner
Inserting a Footer if it doesn't exist ???
 
Join Date: Feb 2018
Location: Århus V, Denmark
Posts: 78
ksor is on a distinguished road
Default

Quote:
Originally Posted by Guessed View Post
An empty footer will still contain a paragraph mark (which is where the length of 1 comes from).

With regards to your (A) question, we don't know what document you are opening but it is possible that it contains macros or has a template attached that contains macros and the error could be coming from that source.

The document I try to open is from the folder hieraki and instantiated i the "doc" variable - it opens with the Msgbox telling me macros not allowed, but I can just MANUALLY click the OK-button in that msgbox and the code continues and works.
There IS in fact macros in all af the files in the folder hieraki - but how can I allow them to be opened WITHOUT that warning i the msgbox ?
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
=CALLOUTTARGETREF()!Prop doesn't exist BenMcLean Visio 9 07-13-2020 04:00 PM
Inserting a Footer if it doesn't exist ??? Saving information into Footer doesn't close footer Ken Leidner Word VBA 2 07-13-2018 12:34 PM
Inserting unicode characters that don't exist in MS Word jdavid10 Word 5 01-11-2017 12:14 PM
Detecting that previous character doesn't exist (i.e., present character is first in document) Robert K S Word VBA 15 08-01-2016 09:33 AM
INCLUDETEXT is file doesn't exist neoported Mail Merge 2 07-21-2016 11:47 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:42 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft