Page 1 of 1

error : microsoft has blocked macros from running because the source of this file is untrusted

Posted: Thu Sep 01, 2022 10:07 am
by wisitsakbenz
เรียน อาจารย์

เปิดไฟล์ excel ขึ้น ที่เป็น Macro ขึ้น error : microsoft has blocked macros from running because the source of this file is untrusted
ต้องแก้ไขยังไงครับอาจารย์

ขอบคุณครับ

Re: error : microsoft has blocked macros from running because the source of this file is untrusted

Posted: Thu Sep 01, 2022 10:51 am
by snasui
:D แก้โดยการเข้า File Explorer ไปหาตำแหน่งที่ไฟล์นั้นวางอยู่ > คลิกขวา > Properties > Unblock > Apply > OK ดังภาพครับ

Re: error : microsoft has blocked macros from running because the source of this file is untrusted

Posted: Thu Sep 01, 2022 3:45 pm
by Ng.Waritthorn
อาจารย์ครับ

ไฟล์ของผมหลังจากกด Properties แล้วไม่พบส่วนที่เป็น Security จะแก้ไขได้อย่างไรครับ
ปล.ไฟล์วางไว้อยู่บน Server
1662021829535.jpg
พอจะมีแนวทางการแก้ไขไหมครับ
ขอบคุณครับ

Re: error : microsoft has blocked macros from running because the source of this file is untrusted

Posted: Thu Sep 01, 2022 6:18 pm
by snasui
Ng.Waritthorn wrote: Thu Sep 01, 2022 3:45 pm ไฟล์ของผมหลังจากกด Properties แล้วไม่พบส่วนที่เป็น Security จะแก้ไขได้อย่างไรครับ
:D ไฟล์ฟ้อง Error เช่นเดียวกันหรือไม่ครับ

ลองดูวิธีการแก้ไขตาม Link นี้ครับ https://docs.microsoft.com/en-us/deploy ... os-blocked, https://answers.microsoft.com/en-us/mso ... 801e264cc2

Re: error : microsoft has blocked macros from running because the source of this file is untrusted

Posted: Fri Sep 09, 2022 8:52 am
by Ng.Waritthorn
ทำตามขั้นตอนด้านบนสามารถใช้งานไฟล์ Marco ได้แล้วครับ
ขอบคุณมากครับอาจารย์