ms-office

How do I call an xll addin function from vba?

寵の児 提交于 2019-12-17 09:31:31
问题 I have a 3rd party XLL addin I'd like to wrap in my own custom vba function. How would I call the 3rd party function from my code? Thanks 回答1: Edit: There are at least two ways to do this: Option 1: Application.Run(...) This looks like the best way to go about it, since your arguments are automatically converted to an appropriate type before being sent to the XLL function. Public Function myVBAFunction(A as Integer, B as String, C as Double) myVBAFunction = Application.Run("XLLFunction", A, B

How do I call an xll addin function from vba?

ε祈祈猫儿з 提交于 2019-12-17 09:31:08
问题 I have a 3rd party XLL addin I'd like to wrap in my own custom vba function. How would I call the 3rd party function from my code? Thanks 回答1: Edit: There are at least two ways to do this: Option 1: Application.Run(...) This looks like the best way to go about it, since your arguments are automatically converted to an appropriate type before being sent to the XLL function. Public Function myVBAFunction(A as Integer, B as String, C as Double) myVBAFunction = Application.Run("XLLFunction", A, B

Where does VBA Debug.Print log to?

我只是一个虾纸丫 提交于 2019-12-17 04:12:20
问题 Where does Debug.Print output messages? 回答1: Where do you want to see the output? Messages being output via Debug.Print will be displayed in the immediate window which you can open by pressing Ctrl + G . You can also Activate the so called Immediate Window by clicking View -> Immediate Window on the VBE toolbar 回答2: Debug.Print outputs to the "Immediate" window. Also, you can simply type ? and then a statement directly into the immediate window (and then press Enter) and have the output

Evaluate a sub-formula of a formula

你离开我真会死。 提交于 2019-12-14 04:09:43
问题 After selecting a cell having a formula, we could select a part of its formula in Excel formula bar and calculate it (by pressing F9). I need to reproduce this evaluation of sub-formulas by JavaScript API. For example, let's assume the values of Cell A1 , B1 , C1 are respectively 1 , 2 , 3 , and Cell D1 contains a formula =A1+B1+C1 . I would like to be able to evaluate quickly a sub-formula such as A1+B1 , B1+C1 , and get the result 3 and 5 . In VBA, under manual calculation mode, we could

Is it possible to protect our documents from getting copied using HTML 5 or general Web technologies?

南楼画角 提交于 2019-12-14 04:09:35
问题 I want to develop a Web App for Mobile users, which will provide users with documents for users to view. I want to ensure that the documents once downloaded to temp folder needs to be deleted once user closes the window. Is there any option for this in HTML 5? Is there any provision to disable copy/paste options for when browser shows the specific pdf documents or MS office documents? UPDATE1: Two things I need to know if possible: Ability to delete files through an API Disable copy, paste

Viewing ACCDB with Access 2010 runtime when Access 2007 is installed

萝らか妹 提交于 2019-12-13 21:02:38
问题 I'm hoping someone can either tell me what I'm doing wrong correct my flawed understanding of how this works and explain why it's not possible. I've been developing a fairly basic database/program for a client in Access. They have Office 2007, I have Office 2010. Initial test of creating a database in 2010 (in "2007" format) and opening the forms and data in Office 2007 showed no problems. Fast forward 3 weeks. I've sent them a recent copy for approval and they can't open it. Unrecognised

Change Custom Colors in MS Access using VBA

痞子三分冷 提交于 2019-12-13 19:45:15
问题 I m trying to change the color theme in access and for all the charts (bar,pie,margins,area etc) i want to add new color scheme . I m using Ms Access 2000 ,i figured a way to change each color manually by clicking on the graph and then tools-->options -->Color-->chart fills but2 problems with this approach: 1.Limits the number of colors to 8 2.I need to manually change for each graph i have over 100 graphs any help is appreciated 回答1: I once edited the colors of columns in charts

Make an add-in available in Excel 2016 for Windows

偶尔善良 提交于 2019-12-13 17:25:00
问题 Following this thread, I have modified the manifest file of my two add-ins, and resubmitted to the store. Yesterday, I got a mail to say one is approved, and today I got another mail to say the other one is approved as well. However, I could not find them in Excel 2016 for Windows . Then I go to the web page of the Office Store. I could find the two add-ins, but I see in their page: This add-in requires one of the following applications: Excel 2016 for Mac , that's it, it does NOT mention

How to Build this complex IF formula

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-13 17:14:32
问题 Note- This Image is for representation. Column 'D', 'E' has around 100 rows Here i want to put a Formula in 'G' column field where 7100 appears. At the moment i am myself calculating 1100 + 1000 + 5000 and adding and writing 7100 in the G column. I want a Formula where Numbers in column 'E' are only added if column 'D' has something written in front of it for e.g: - 10 or 11, or 12, 555 , 666 & so on...... If nothing is written in column 'D' like for e.g:- next to 4000 then this 4000 should

Server side library for conversion of office files to pdf with added stamp/watermark

蓝咒 提交于 2019-12-13 17:14:00
问题 I need to take Word, Excel, PowerPoint and Visio files and convert them to PDF on the server side using C#. At some point before or after the PDF conversion, the clients want a stamp/watermark to be added to the corner of the document (assuming, for now, on every page). I cannot use Office products in the process, as there are licensing and stability issues involved with using "interop" server-side. Also, I would rather not depend on any other installed software on the server for similar