ChrFriberg
New Member
- Joined
- Nov 1, 2014
- Messages
- 2
Dear everyone!
I'm completely new to this site - so forgive me in advance..
I'm no genius - especially not when it comes to VBA, but I thought that you guys are, so:
I have a macro in my excel worksheet that does following:
Saves the active sheet as a PDF
The code looks like:
I want the PDF to be saved as "ReadOnly" - so I don't get to overwrite it.
Can you help me?
A nice weekend to everyone!
/Christian
I'm completely new to this site - so forgive me in advance..
I'm no genius - especially not when it comes to VBA, but I thought that you guys are, so:
I have a macro in my excel worksheet that does following:
Saves the active sheet as a PDF
The code looks like:
Code:
Filename:="C:\Users\Christian\Dropbox\Myhomepage.dk\Faktura\AutoFaktura\" & _
ActiveSheet.Range("'Faktura (Privat salg)'!D12").Value & ".pdf", _
OpenAfterPublish:=False
I want the PDF to be saved as "ReadOnly" - so I don't get to overwrite it.
Can you help me?
A nice weekend to everyone!
/Christian