Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-18-2016, 04:41 AM
Neilesh Neilesh is offline Encrypt PDF only for editing after conversion from excel Windows 10 Encrypt PDF only for editing after conversion from excel Office 2013
Novice
Encrypt PDF only for editing after conversion from excel
 
Join Date: Aug 2016
Posts: 5
Neilesh is on a distinguished road
Default Encrypt PDF only for editing after conversion from excel

Hi Experts,



Here are below codes for converting the the file from excel to pdf with the required name of the file. Can you please provide the macro with the present macro for protecting the pdf after conversion from editing in any manner.



Private Sub CommandButton2_Click()
'saves the file as PDF and adds a date parameter to the name of the file


aux1 = ""
If Month(Date) < 10 Then
aux1 = "0"
End If
aux2 = ""
If Day(Date) < 10 Then
aux2 = "0"
End If


fileN = "Salary Slip of " & Workbooks.Application.Sheets("Salary Slip").Cells(10, 5).Value
fileD = Format(Sheets("Salary Slip").Cells(6, 2).Value, "mmm-yy")




ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:=ThisWorkbook.Path & "\" & fileN & " for " & fileD & ".pdf", _
Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas _
:=False, OpenAfterPublish:=True


End Sub


Please help me out experts.

Regards,

Neilesh
Reply With Quote
  #2  
Old 08-18-2016, 04:52 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Encrypt PDF only for editing after conversion from excel Windows 7 64bit Encrypt PDF only for editing after conversion from excel Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,920
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Cross-posted at different forums without links. ( at least two)
Please add links to ALL your existing cross-posts. You have already been warned about this and asked to do so on different forums.
If you persist in ignoring forum rules, other steps will be taken. Thank you
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 08-18-2016, 04:57 AM
Neilesh Neilesh is offline Encrypt PDF only for editing after conversion from excel Windows 10 Encrypt PDF only for editing after conversion from excel Office 2013
Novice
Encrypt PDF only for editing after conversion from excel
 
Join Date: Aug 2016
Posts: 5
Neilesh is on a distinguished road
Default

Dear Sir,

Please suggest sir then what should i do. I truly apologies to cross post in different forums but the matter is quite urgent and i have been keep chasing since last 2-3 days but no response i got.

I really apologies for the same but i tried my level best as well while searching on google but nothing has come yet positively.

Request to you please if you can help me out, I would be great obliged to you Sir.

Regards,

Neilesh
Reply With Quote
  #4  
Old 08-18-2016, 05:07 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Encrypt PDF only for editing after conversion from excel Windows 7 64bit Encrypt PDF only for editing after conversion from excel Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,920
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

For the second and LAST time, please post links to ALL your existing cross-posts.
Otherwise I will be obliged to close this thread.
Thank you
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #5  
Old 08-18-2016, 05:11 AM
Neilesh Neilesh is offline Encrypt PDF only for editing after conversion from excel Windows 10 Encrypt PDF only for editing after conversion from excel Office 2013
Novice
Encrypt PDF only for editing after conversion from excel
 
Join Date: Aug 2016
Posts: 5
Neilesh is on a distinguished road
Default

Hi Experts,

Below are the links where i requested on my threads:

http://www.mrexcel.com/forum/excel-q...ion-excel.html

http://www.ozgrid.com/forum/showthre...741#post775741

https://www.msofficeforums.com/excel/...tml#post103513

http://www.excelforum.com/excel-gene...rom-excel.html (Closed by me)

Request to you please provide the solution on the same.


Regards,

Neilesh
Reply With Quote
  #6  
Old 08-18-2016, 08:03 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Encrypt PDF only for editing after conversion from excel Windows 7 64bit Encrypt PDF only for editing after conversion from excel Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,920
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Thank you for the info
although you forgot http://www.excelguru.ca/forums/showt...ion-from-excel
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #7  
Old 08-18-2016, 09:15 AM
Neilesh Neilesh is offline Encrypt PDF only for editing after conversion from excel Windows 10 Encrypt PDF only for editing after conversion from excel Office 2013
Novice
Encrypt PDF only for editing after conversion from excel
 
Join Date: Aug 2016
Posts: 5
Neilesh is on a distinguished road
Default

Dear Sir,

Can you please help me on my post? Request to you please help me on my thread.

Thank you for your precious phase and valuable cooperation.

Regards,


Neilesh
Reply With Quote
  #8  
Old 08-22-2016, 03:04 AM
Neilesh Neilesh is offline Encrypt PDF only for editing after conversion from excel Windows 10 Encrypt PDF only for editing after conversion from excel Office 2013
Novice
Encrypt PDF only for editing after conversion from excel
 
Join Date: Aug 2016
Posts: 5
Neilesh is on a distinguished road
Default

Hi Experts,

Can anyone please help me on my post? Request to you please help me on my thread.

https://www.msofficeforums.com/excel...ion-excel.html

Thank you for your precious phase and valuable cooperation.

Regards,


Neilesh
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Encrypt PDF only for editing after conversion from excel f2 function in excel 2013 for editing/viewing msnarayanan Excel 1 08-03-2015 02:41 AM
Encrypt PDF only for editing after conversion from excel Can I encrypt a document in Word Starter 2010? chicken legs Word 2 03-03-2013 01:59 PM
Excel / Access 2010 Time field conversion djsn Excel 0 05-24-2012 09:55 AM
Encrypt PDF only for editing after conversion from excel Need help editing a .PDF to .DOC conversion Bobosmite Word 1 05-06-2011 05:18 AM
Encrypt outlook folders whatever61 Outlook 4 12-21-2010 05:26 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:49 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