Saving to PDF using VBA in Excel 2007 using security features such as password and print restriction
Good Afternoon,
I am wondering if there is a way to implement the security features such as password and print restriction while saving a document to PDF using VBA in Excel 2007.
Regards,
Steve
Bill,
Thank you. I was able to find the security setting section. The problem I have now, however, is writing the VBA to save to PDF and incorporate the security settings. I thought if i applied the settings to the Excel document I was working on it would carry over, but this does not seem to be the case. Any idea's?
Regards,
Steve
Similar Messages
-
How to change series or line color in excel 2007 using ActiveX
I am trying to change series color using Excel 2007 with ActiveX as below. It seems the color cannot be controlled correctly. For example, if I chosse red color, my curve will be changed to blue. Any ideas?
Also, I googled and found a guy ran into similiar problem using VBA for Excel 2007. See the link below:
http://help.wugnet.com/office/change-series-line-color-excel-2007-vba-ftopict1062646.html
Set ch = Worksheets("Chart").ChartObjects(1)
Set objSeries = ch.Chart.SeriesCollection(1)
objSeries.Format.Line.ForeColor.RGB = RGB(255, 127, 0)
According to the post, it need to be done as follows
objSeries.Border.Color = RGB(255, 127, 0) . But I cannot find the border property/method in ActiveX.
The color seems to be abitrary. and I found the Xubuli,
I looked into your question and confirmed that Border.Color is not located under the Excel.Series library. Instead, you must locate it under _Worksheet.UsedRange as seen below in the figure. I am attaching the VI file where I located the the Border.Color property node, and I am also including a SubVI on the block diagram that goes into explicitly set the cell color and border. This SubVI can be found under Programming>>Report Generation>>Excel Specific>>Excel Format>>Excel Set Cell Color and Border.vi, if you have the Report Generation Toolkit installed. I hope this helps.
Larry H
Applications Engineer
National Instruments
Attachments:
CellBorder.vi 8 KB -
Wrong download in Spreadsheet (excel 2007) using Query
Hi,
Issue is: When i execute a query in SQ01 with output format as Spreadsheet ( i.e. Excel 2007 -Office 2007 is installed), the date and quantity formats are not displayed in Date and Qty format.
For e.x.
If the date is 01/24/2009 and qty is 34,786, in the spread sheet (Excel 2007) i can see
date as 39837 and qty as 34786. These can be changed manually in the excel file using Format cells. But, the requirement is to have it automatically, after download.
When i try it with Office 2003 (excel 2003), There is no problem. It works well.
Our SAP system-Release 4.7.
Please help me in resolving this issue ASAP.
Thanks and Regards,
Senthil Kumar A
Edited by: Senthil Kumar A on Jan 29, 2009 8:11 AMHi
I met the same problems, whether somebody can help out.
thanks in advance.
b.r
susan -
Preview and Print restrictions in PDF
Hi there,
I bought the Adobe Type Basics pack, and I would like to use one of the fonts that has the Preview and Print license.
The Preview and Print license states that "Preview & Print allows the font, either fully or as a subset, to be embedded in an electronic document solely for the purpose of viewing that document on screen and/or printing that document. While a font with a Preview & Print embedding permission (either through data in the font file or the font’s license agreement) may be embedded in an electronic document, the embedded font may not be used to further edit the document it is contained in or to edit or create other documents."
If I use this font in a PDF file meant to be sold/distributed, am I violating any of these terms? As far as I know, you can't create an "editable PDF." PDFs are, to my understanding, relatively static--so I do not understand why there is such specific wording about the prohibition of "further edits."
I am using MAC Pages, so I could use the additional password protection option (under the "Save as PDF" not "Export as PDF" section) to prevent people from "copying text, images, and other content." I presume "other content" covers fonts, but I'm not sure. And I don't know if the password encryption will prevent "editing." Technically doing so would be encrypting the PDF, I believe. However, this would not be bulletproof protection. And I do not know if that will prevent font extraction.
I would appreciate some help. From what I understand, all these points seem more relevant for PSD, AI, EPS and other workflow-type files.
CheersThanks for posing this question.
Although fonts have embedding restrictions baked into the font such as preview and print, the real restrictions are to be found in a font's EULA (End User License Agreement) which may have other restrictions including payment of royalties on copies of PDF files or any other asset in which the fonts are embedded.
In the case of any and all fonts sourced from Adobe, not only do you have at least preview and print embedding privileges, but there are no restrictions or royalties required for distribution of files (i.e., PDF, EPS, eBooks, etc.) in which the Adobe fonts are embedded.
In other words, you are “good to go” with Adobe fonts. On the other hand, make no assumption about fonts sourced from other font foundries. Many do not provide such liberal terms!
- Dov -
I entered calculates hands and more than one account and used a credit card please raise security measure for Visa card and thank you
Hi Eva B.,
Please refer to the help document below:
Adobe Store | Online order and payment FAQ
Regards,
Sheena -
How to use VBA in Excel to convert a pdf file to XML?
Hello,
I need to convert pdf to XML format so that it can be imported into Excel workbook and the information can be extracting out and mapped to existing excel cells. What is the easiest way to get it down without introduce any additional tools/software
other than Microsoft products? Client want to keep their process simple and it will be used for many agents in remote locations. They mentioned that they want to use VBA to do it. I could not find much useful information on this. Thanks a lot!
WeiNo Office programs can open a pdf and edit the contents so you will have to get a different app to convert teh pdf into xls format. There are plenty to be found on the web.
Rod Gill
The one and only Project VBA Book
Rod Gill Project Management -
Problem in Exporting to Excel 2007 using CRServer 2008
Can anyone please help me know the difference between Crystal Reports Server 2008 and Business Objects XI R2? Both the support guides says that it supports Office 2007. I have a problem in exporting the reports to Excel 2007 .I have downloaded the trial version of Crystal Reports Server 2008 but still unable to view my complete reports in Excel 2007 through infoview because few of my report's colums are truncated and it still exports in Excel 2003.I have LiveOfficeXIR2_SP4 and Office 2007 installed. Is it so that i have to switch over to Business Objects XI R2 or any other to solve my problem instead of using Crystal Reports Server 2008 or is it the problem with the version of my Live office.Pls help me regarding this..
Babita.Hi Ani,
First Thank you for your reply..I have already tried exporting it in Excel 2003 but since the limit is upto 256 columns and that my report's content exceeds this limit, few of the columns are truncated. Thats why i thought that it would be better to export it in Excel 2007. But i could'nt find any way to do it so..Pls help me if there is any other way..
Babita. -
Problem with SAP log-in using VBA with Excel Bexanalyzer add-in
I am trying to login in to SAP using VBA code but the code fails as indicated below .
In Function GetBEx(Optional iWb As Workbook) As Object
GetBEx = pAddin.ExcelInterface.WorkbookBExExcelApplication(lName)
Works properly – I get an object
However, in the sapBEXgetConnection function it seems that the lBex.ComConnection fails. The p_connectionObj doesn’t get assigned (p_connectionObj is Nothing)
Function sapBEXgetConnection(Optional IWhat As Integer) As Variant
If IWhat = 0 Then
' try to get BexApi Connection
Dim lBEx As Object
Set lBEx = GetBEx
On Error Resume Next
Set p_connectionObj = lBEx.ComConnection 'fails here
If Err.Number <> 0 Then Set p_connectionObj = Nothing
On Error GoTo 0
If p_connectionObj Is Nothing Then If Not prepareConnection Then Exit Function
Set sapBEXgetConnection = p_connectionObj
End If
End Function
All of this code is part of the Bexanalyzer Excel Add-In
I’m assuming that I’m missing a patch or some configuration is incorrect but, since I’m not very familiar with SAP I don’t know. Any help would be greatly appreciated. Thank you.Hello Sebastien,
Since I don't know what an SSO automatic connection is I can't give you an answer. Can you explain it?
Here's what I'm trying to achieve: on demand I'd like to execute VBA code that will use Bexanalyzer.xla functions to log in and then refresh a query that exists in the Excel workbook. Ultimately I'll want to apply parameters / variables to the query when it is refreshed. I may then automatically execute VBA code to manipulate the resulting data in the workbook. Basically I want to be able to do all of this without any user input.
Paul -
Question about IAC using VBA in Excel
How can I execute the "reduce file size" inside "document" menu in acrobat through IAC? I am using vba in EXCEL
You can not.
-
Using VBA from Excel, how to send datas into a SQL server
Hi,
How do you use VBA to provide the connection to insert datas into a table within a database.
What kind of statements do we need.
The database, and table are for example already created.
ThanksHi
I know this is an old thread but did you come right? -
I cannot use email on my iPad. It asks for a password and then comes up with domain error
I cannot. Use my email on my iPad. It continually asks for a yahoo password and then says message error domain. What can I do?
iOS: Unable to send or receive email
http://support.apple.com/kb/TS3899
Can’t Send Emails on iPad – Troubleshooting Steps
http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
Setting up and troubleshooting Mail
http://www.apple.com/support/ipad/assistant/mail/
Why Does My iPad Say "Cannot Connect to Server"?
http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
iPad Mail
http://www.apple.com/support/ipad/mail/
Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts Tap on the Account, then on the red button that says Remove Account.
Cheers, Tom -
How to automatically saved a pdf form into a network folder using a submit button
Good evening to everyone,
I'm more than a beginner on adobe development reason why I would like to apologize first if my questions are dumbs. :-(
I would like to know if 'Adobe 9 Professional Extended' has the possibility to put some code into a submit button in order for the pdf form to be saved with a unique name and into a Network folder located into an Encryption Server where we handle our PII. Is it? Over the past two weeks I've been digging into the documentation but I'm unable to find something that will help me to accomplish our headquarters requirements.
If there is no possibility, is there any programming language that adobe accepts in order to configure a piece of code that will store the file into a network folder? Perhaps VB or C-SHARP?
Whatever feedback anyone can give, I deeply appreciate it.
Thanks,Thanks for the reply Mr. Chaney!
I do have more questions based on your recomendation.
From my understanding, JavaScript or FormCalc will be my only options, right? If that's the case, how can a scripting language (client server side) allow me to transfer automatic saved files into a Network folder within my company intranet? I downloaded the Scripting Basic manual and all the scenarios and code are client server side such as, changing background color, add effects to a button and so on.
I did find a command under FormCalc called "PUT" can I use this command to transfer a pdf file into a Virtual Directory folder? All the examples I saw were for XML files.
Greetings, -
Memory errors in Precalc on Workbook using SAPGUI 720/Excel 2007
When application does precalc of a workbook, they are getting memory errors. This is after we are utilizing latest version of precalc
Settings were started from the BEx Broadcaster
Processing for user E445357, language EN
Processing setting
The system contacts preliminary calculation server GWCPRECALC
A preliminary calculation server has been found
Precalculation server was started
Load workbook U3CIU73K8VJT0LOBAWKHYHIZC
Precalculation Server Queue updated: Server GWCPRECALC Setting 0ADCA02D01444E550EAF1DB400000000
Start precalculation on precalculation server 'PREC_GWCPRECALC' for setting '!TEMP_4E542E98E01E0144E10080000ADCA02D'
SAP Gui 720 connection mode
Connection passed
Start precalculation against RFC server GWCPRECALC ZORD_CON_BRDCST
Step 2 in precalculation on precalc. server 'PREC_GWCPRECALC' for setting '!TEMP_4E542E98E01E0144E10080000ADCA02D'
SAP Gui 720 connection mode
Connection passed
* Trace Started as: 8/24/2011 7:46:48 AM*
ListSeparator: ,
ExcelVersion: 12.0
AddinVersion: 7200.2.402.1750
CommunicationFactory.UserSettings.LoadSettings: Co
uld not find file 'BExCommunication.xml'.
BExCheckFrontend.CheckFrontend: Check performed 42
.5
BExConnect.MenuRefreshPrecalc: Start
BExConnect.MenuRefreshPrecalc: Process Variables O
n Refresh = True
BExConnect.MenuRefreshPrecalc: Variant ZORD_CON_BR
DCST
BExConnect.MenuRefreshPrecalc: 1 messages exist
BExConnect.MenuRefreshPrecalc: 2 BRAIN 692 Query w
as changed! Characteristic no longer exists.
Calling Macro CallBack in Workbook SAPBEXPRECF0DVU UJ6GDQ1RHRNRIUHZY6IAI_0.xls with DP DATA_PROVIDER_
in Range $F$15 for name GRID_1: 0.4843776
BExConnect.MenuRefreshPrecalc: After Render
BExConnect.MenuRefreshPrecalc: After calling break
link
BExConnect.MenuRefreshPrecalc:
System.AccessViolationException: Attempted to read d or write protected memory. This is often an indi
ation that other memory is corrupt.
at Microsoft.VisualBasic.CompilerServices.LateB Binding.InternalLateCall(Object o, Type objType, S
ring name, Object[] args, String[] paramnames, Boo
lean[] CopyBack, Boolean IgnoreReturn)
at Microsoft.VisualBasic.CompilerServices.NewLa ateBinding.LateCall(Object Instance, Type Type, St
ing MemberName, Object[] Arguments, String[] Argum mentNames, Type[] TypeArguments, Boolean[] CopyBac
, Boolean IgnoreReturn)
at com.sap.bi.et.analyzer.addin.BExConnect.Menu uRefreshPrecalc(Object iVariables, String iFileNam
, String& cTrace, String iVariant)
Attempted to read or write protected memory. This is often an indication that other memory is corru
t.
at Microsoft.VisualBasic.CompilerServices.LateB Binding.InternalLateCall(Object o, Type objType, S
ring name, Object[] args, String[] paramnames, Boo
lean[] CopyBack, Boolean IgnoreReturn)
at Microsoft.VisualBasic.CompilerServices.NewLa ateBinding.LateCall(Object Instance, Type Type, St
ing MemberName, Object[] Arguments, String[] Argum mentNames, Type[] TypeArguments, Boolean[] CopyBac
, Boolean IgnoreReturn)
at com.sap.bi.et.analyzer.addin.BExConnect.Menu uRefreshPrecalc(Object iVariables, String iFileNam
, String& cTrace, String iVariant)
ErrorDesciption:Invalid procedure call or argument
Result: False
End of MenuRefreshPrecalc
Precalculation in thread 0 failed.
packages processed on server 3-. Remaining packages: 3-
Precalculation Server Queue updated: Server GWCPRECALC Setting 0ADCA02D01444E550EAF1DB400000000
Cannot precalculate workbook Orders Report Broadcasting
CloseDear Girdhara,
Could you please open Workbook on system where the precalculation service is installed and resave it on BW server.
This will resolve your issue.
Regards,
Arvind -
Can the "IF function used in Microsoft Excel" be used in FormsCentral?
The IF function returns one value if a condition you specify evaluates to TRUE, and another value if that condition evaluates to FALSE.
For example: I want the person filling out my form to be directed to the proper next selection.
Question: What type of vehicle are you interested in?
Choices: Car, Truck, Bicycle
If Car is selected, a drop down list of car manufacturers will appear.
Choices: Ford, Chevolet, Toyota
If Ford is selected, a drop down list of Ford cars will appear.
Choices: Mustang, Fusion, Focus
Thanks in advance for all who reply!You can make form items conditional by clicking the "Show / Hide Item" checkbox in the property panel, highlighted in the following screenshot.
When you enable that option you will be presented with a dialog that allows you to specify the conditions that control the visibilty of the item.
In the screenshot above, you can see that the rule has been configured to show the "Select the car manufacturer" field if the user selects the "Car" option in the "What type of vehicle are you interested in?" field.
Regards,
Brian -
Hi,
I wonder if someone could help me please.
I have an issue that extends across my browsers – Firefox and Internet Explorer (Firefox is default) and both are the latest version possible. My machine is fully patched (Win7 Pro x64 SP2).
The issue is as shown below:
'The site xxxx is requesting a user name and password. The site says: "restricted"’
The happens for some (not all) sites and I have to click “cancel” twice to remove the dialogue box, and then the site appears and works normally for a little while. The box will come up again if I attempt to click any links within the same site. It’s incredibly annoying and has been frustrating me for the past month. Here’s what I have tried so far, but hasn’t resolved the issue:<br />
<br />
• Clearing Firefox cache/history manually (set to never remember anything)<br />
• Tried checking/unchecking private browsing<br />
• Made sure “accept 3rd party cookies” is enabled<br />
• Tried all checkboxes for “no proxy”, “use system proxy” and “auto detect system proxy” etc<br />
• Disabled all add-ons/extensions within Firefox and retried<br />
• Performed the option to “Reset Firefox” to its default state from within “Troubleshooting”<br />
• Completely uninstalled and re-installed Firefox (latest version)<br />
• Went to the URL "about:config" and searched for the key "network.websocket.enabled" and switched it to "false".<br />
• Went to the URL "about:config" and searched for the key "network.proxy.share_proxy_settings" and switched it to "false".<br />
• Went to the URL "about:config" and searched for the key "network.automatic-ntlm-auth.allow-proxies" and switched it to "false".<br />
• Run a full AV scan in safe mode (with latest definition files) using Avira Antivirus, Spybot Search & Destroy, MalwareBytes, Super Antispyware and performed full optimisations via Registry Mechanic, Tune-up Utilities 2013 and CC Cleaner (with CC Extender installed). No threats found.<br />
None of the above has helped. The problem is only recent so I’m not entirely sure what’s changed.
Does anyone have any ideas or suggestions? I seem to have exhausted my ability to diagnose the fault via the god of Google
Regards
MalachorIt is always best to avoid using such external cleaners as you can never be sure if they aren't corrupting files and it is usually not worth the trouble to repair damage if that is the case. A lot of the SQLite database files use a complicated table setup that can easily get corrupted.
Maybe you are looking for
-
i have read ur forgotten password or device disabled after entering wrong password. iphone is desabled dont have computer i conected it to before and power button is broke so how can i get back into my iphone?
-
Well, .... i purchased the TV show Dragon's Den (season two and also season three) which I just love but as i was watching the download processing icons the season two downloaded into the iTunes library but season three did not.... this was because m
-
I created ab album in iphoto with pictures and movie. I publish the album to the web gallery and it worked fine. I deleted the album in iphoto, the pictures were deleted in web gallery but not the movie. How do I delete that ?
-
I can't get sound on favorite sights, and cannot find why
Ever since I went to beta4, no sound on fave sites, just want the sound back, help
-
Content created with v18 tools, crashed the v19 Content Viewer
Hi, We've been working on a publication using v18 of the DPS tools in InDesign, this works perfectly when viewed with the v18 Adobe Conent Viewer. Our client has downloaded the Content Viewer to see the work we have done so far, however on viewing ce