Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to access a password protected file with VBA in Excel
ChannelBarb HendersonDescription from the creator
How to access a password protected file With VBA in Excel. How to access a file that has been encrypted and password protected. How to access a password protected file without opening it.
Check out my Introduction to VBA for Excel – one hour video youtu.be/CH1cgL02wnU
Code
Sub frompassword()
Dim src As Workbook
Set src = Workbooks.Open("C:\Users\Barb\Desktop\datafiles\pwdfile.xlsx", True, True, Password:="pwdtest")
ThisWorkbook.Activate
Worksheets("sheet1").Range("B2:D3").Formula = src.Worksheets("sheet1").Range("A1:C2").Formula
End Sub
For more help visit my website easyexcelanswers.com or email me at [email protected].
Contact me regarding customizing this template for your needs.
Excel one-on-one on-line training available. Email me to arrange.
I am able to provide online help on your computer at a reasonable rate.
Check out my next one-hour Excel Webinar
crowdcast.io/easyexcelanswers
I use a Blue condensor Microphone to record my videos, here is the link
amzn.to/37gyyGa
Check out Crowdcast for creating your webinars
app.linkmink.com/a/crowdcast/83
If you need to buy Office 2019 follow
amzn.to/2VX5dv8
I use Tube Buddy to help promote my videos
Check them out
Tubebuddy.com/easyexcelanswers
Follow me on Facebook
facebook.com/easyexcel.answers
Follow me on twitter
easyexcelanswers
IG @barbhendersonconsulting
You can help and generate a translation to you own language
youtube.com/timedtext_cs_panel?c=UCFH2kZykqt-VX…
*this description may contain affiliate links. When you click them, I may receive a small commission at no extra cost to you. I only recommend products and services that I've used or have experience with.
Check out my Introduction to VBA for Excel – one hour video youtu.be/CH1cgL02wnU
Code
Sub frompassword()
Dim src As Workbook
Set src = Workbooks.Open("C:\Users\Barb\Desktop\datafiles\pwdfile.xlsx", True, True, Password:="pwdtest")
ThisWorkbook.Activate
Worksheets("sheet1").Range("B2:D3").Formula = src.Worksheets("sheet1").Range("A1:C2").Formula
End Sub
For more help visit my website easyexcelanswers.com or email me at [email protected].
Contact me regarding customizing this template for your needs.
Excel one-on-one on-line training available. Email me to arrange.
I am able to provide online help on your computer at a reasonable rate.
Check out my next one-hour Excel Webinar
crowdcast.io/easyexcelanswers
I use a Blue condensor Microphone to record my videos, here is the link
amzn.to/37gyyGa
Check out Crowdcast for creating your webinars
app.linkmink.com/a/crowdcast/83
If you need to buy Office 2019 follow
amzn.to/2VX5dv8
I use Tube Buddy to help promote my videos
Check them out
Tubebuddy.com/easyexcelanswers
Follow me on Facebook
facebook.com/easyexcel.answers
Follow me on twitter
easyexcelanswers
IG @barbhendersonconsulting
You can help and generate a translation to you own language
youtube.com/timedtext_cs_panel?c=UCFH2kZykqt-VX…
*this description may contain affiliate links. When you click them, I may receive a small commission at no extra cost to you. I only recommend products and services that I've used or have experience with.
About this tutorial
Barb Henderson published this 3:11 video tutorial on November 5, 2018. It has been watched 50,412 times on YouTube.
- Channel
- Barb Henderson
- Category
- Howto & Style
- Duration
- 3:11
- Published
- November 5, 2018
- Views
- 50,412
- Likes
- 159
Tags
Share
This tutorial in other languages
- FRComment accéder à un fichier protégé par mot avec VBA dans Excel
- ESCómo acceder a un archivo protegido por contraseña con VBA en Excel
- PTComo acessar um arquivo protegido por senha com VBA no Excel
- ITCome accedere a un file protetto da password con VBA in Excel
- DEWie man ein Passwort geschützte Datei mit VBA in Excel zugreifen
- NLHoe toegang krijgen tot een wachtwoord beveiligd bestand met VBA in Excel
- RUКак получить доступ к защищенному файлу паролей с помощью VBA в Excel
- PLJak uzyskać dostęp do chronionego pliku haseł z VBA w Excelu
- JAExcelでVBAを使用してパスワード保護されたファイルにアクセスする方法
- ARكيفية الوصول إلى ملف محمي بكلمة مرور مع VBA في Excel
- HIExcel में VBA के साथ एक पासवर्ड से सुरक्षित फ़ाइल का उपयोग कैसे करें
- IDCara mengakses password file yang dilindungi dengan VBA di Excel