kandi X-RAY | msoffice Summary
kandi X-RAY | msoffice Summary
msoffice
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of msoffice
msoffice Key Features
msoffice Examples and Code Snippets
Community Discussions
Trending Discussions on msoffice
QUESTION
I need to arrange the hourly data to calculate the diurnal variation boxplot in Excel and prepare a template to calculate it for other data too. I have found an OFFSET and also INDEX excel function to do it in the link (https://answers.microsoft.com/en-us/msoffice/forum/msoffice_excel-mso_winother-mso_2010/drag-horizontally-increase-reference-vertically/f35cdc98-e6b4-43d4-9128-5fdffcdb93ed).
I can get all the vertical values in the horizontal form (like the transpose) but I would have to cut and paste all the data for 365 days to arrange it in the form presented in the picture.
For other dates, I want to change the cell number in the reference value($B$4) in the OFFSET formula to another value shown in Column D (4,28,52....) and drag it down until I arrange the values for 365 days.
*Is there a way that I could incorporate the cell value in column D (4,28,52....) in the OFFSET formula (=OFFSET($B$4,(COLUMN(A1)-1)1,0)), replacing $B$4 with $B$28, $B$52 and so on?
If there is a simpler way to arrange these values, that would be much appreciated too. Thank you in advance!
...ANSWER
Answered 2021-May-20 at 15:25I would just split the dateTime column by delimiter or fixed width (Text to Columns function on Data tab in Ribbon) so you have one column for date and one for time and then simply put it in the pivot table.
QUESTION
It's quite strange to state hereby, but remains to be a fact that, in one of my VSTO projects while the following piece of simple code works well enough, in another project, while it's almost exactly the same, i.e. assigned to a Ribbon's Button, the latter project only reflects the message in Visual Studio's Footer as Build Failed, as per the image following the same i.e. without even an error being highlighted?
...ANSWER
Answered 2021-May-05 at 19:18It's quite strange, but true enough. Till now the Visual Studio was not reflecting any error but today when I tried again to implement WPF in a VSTO it finally reflected that there was a Casting Error???
The said error also appeared for only few seconds and then again disappeared with the same old footer reflecting build failed.
When I googled it no doubt turn out to be so and the very first site clarifying the said matter was quite fruitful enough.
Thus, changing my code to the following did turn out to be resulting to a successful build:
QUESTION
I am testing various ways to use Documents4j using the shaded jars on Windows 10. I use the following:
...ANSWER
Answered 2021-Apr-05 at 21:05As pointed out in the documents4j documentation, you probably need to prepare the user which is not normally set up to run Word. As it says in the documentation:
- On a 32-bit system, create the folder C:\Windows\System32\config\systemprofile\Desktop. On a 64-bit system, create the folder C:\Windows\SysWOW64\config\systemprofile\Desktop. Further information can be found on MSDN.
- You can manipulate MS Window's registry such that MS Office applications are run with another account than the local service account. This approach is documented on MSDN. Note that this breaks MS Window's sandbox model and imposes additional security threats to the machine that runs MS Office.
QUESTION
I am using Office365 and the latest version on windows 10, and trying to build outlook add-in.
I built Outlook add-in by following this to documentation.
And I compiled the add-in using npm run dev-server
and sideloaded the add-in by following this.
After that, I tried to use the add-in, but it seems to be only working in administrator.
Even though I run Outlook as administrator(desktop app), it doesn't work.
But if I sign out a user, and sign in as administrator, then it works.
As a normal user(even though I open Outlook by hitting "Run as administrator"), if I run the add-in, it shows the following error. And I hit restart button, then it is loading forever.
I tried to troubleshoot this, I opened Outlook in safe mode, disabled all add-ins, and tried again.
But it has failed.
And second, I re-installed or updated Office365, but it didn't work either. reference
Is there any way to run Outlook to use add-in as normal user?
My windows 10 version is over 1903. reference
...ANSWER
Answered 2021-Apr-04 at 13:29There are multiple reasons that could be causing this error message. But the most widely spread cause is the Protected mode
turned off in Internet Explorer. Here is what the Outlook team states:
This error is by-design for add-ins in Outlook clients that are rendered using IE and do not have Protected Mode enabled. Protected Mode is a security feature when using IE, and it is strongly recommend that it be enabled while using add-ins.
If you do not or cannot enable Protected Mode, a possible workaround is to upgrade to a newer Windows and Office, so add-ins are rendered using Edge Webview instead of IE. Details about what versions that Webview are supported can be found here.
- In Internet Explorer, click the
Tools
button, and then clickInternet Options
. 2, Click theSecurity
tab, and then select theInternet Sites Zone
. - Select the
Enable Protected Mode
check box, and then clickOk
. - Restart Internet Explorer and Outlook. Check if that helped.
- If not, enable
Protected mode
onRestricted Zone
and try anew.
Also you may find the Troubleshoot user errors with Office Add-ins article helpful.
QUESTION
This post is crossposted on the Microsoft Answers forum.
My macro below is used to secure the word document in question. When it is run on smaller documents (4-10 pages) it works fine, but we have a much larger 27 page document (6000 words) that seems to suck up all the memory! I run it and word ends up freezing on me.
Here is a link to a OneDrive reproducible example: https://1drv.ms/w/s!AgPO3BotYSt7iHvafHts2HyF2OjB?e=HSOI57
Not sure if the formatting holds when accessed via OneDrive, but the checkboxes show an X when clicked.
The 'Description of how you will meet the recommendation' is followed by a text field so the user can input text. Same deal with 'Responsible team' and 'Reasoning for why you disagree:'
After the macro runs, the entire document should be locked down except for the text that is red along with the formatting described above.
Is there anyway to adapt the macro to save some memory allowing it to run when used on larger files?
Here is the macro:
...ANSWER
Answered 2021-Mar-04 at 03:23Your problem is most likely related to all the selecting your code is doing, which is both inefficient and liable to causing lots of scrolling and screen flicker. Try:
QUESTION
I am using some tables that are designed for easy data entry by users. Some of the columns are formulas. I would like to protect the columns that use formulas, but still permit users to add new rows and delete existing rows from the table.
There is some very helpful code here: https://answers.microsoft.com/en-us/msoffice/forum/all/inserting-deleting-rows-or-columns-in-a-protected/17303e19-dabe-4f38-9250-2ef213f1e13d
...ANSWER
Answered 2021-Feb-25 at 07:12If a column is locked and the worksheet is protected you cannot delete entire rows without removing the protection first.
So the workaround would be to add a button Delete selected row (or a keyboard shortcut to a procedure) and write a code that unprotects the worksheet, deletes the row and protects it again.
Alternative to unprotect/protect
Do some research on how to use the UserInterfaceOnly
parameter properly in combination with the Workbook_Open
event, this allows to protect only the user interface but VBA still can access the worksheet without restrictions. With this you will still need a dedicated button (or shortcut) to delete a row but you don't need to unprotect/protect everytime.
You just need to read the official documentation of the Worksheet.Protect method. There you see that every parameter (besides the Password
parameter) has a default to True
or False
. That is what is used in case you don't specify a parameter. It does not use anything that was set perviosly.
QUESTION
In the case of two ADFS servers using wid (adfs1 and adfs2) load balanced and two ADFS Proxy servers (proxy1 and proxy2) also load balanced. An error message was logged on proxy1 that "the federation proxy server could not renew its trust with the Federation Service" (event id 394).
The fix seems to be to make sure proxy1 is talking to the primary ADFS server adfs1 (instead of the VIP which load balanced adfs1 and adfs2 as adfs.domain.com) and to re-register it. I did this by setting the FQDN adfs.domain.com to point to adfs1 in the hosts file on proxy1. I expect it will keep wanting to renew the trust so I should leave it that way. This would seem to break the full mesh redundancy of having 2x2 since proxy1 will only talk to adfs1. Is there a better way to deal with this issue in this configuration?
I understand moving to SQL server may be an option but is another single point of failure I would like to avoid since this is not a huge deployment. Any other ideas?
Thank you for your help!
Mike
Related:
...ANSWER
Answered 2021-Jan-20 at 08:18You dont need to point a WAP at a specific AD FS (such as the primary you are doing now). You should use the load balanced address to get WAP reach one of the two AD FS.
The difference is when establishing a trust with a WID based (no SQL in use) AD FS, the trust setup will either complete near instantly or within 6 mins based on whether the load balancer picked the primary or not. This is by design as any setup done via the secondary is redirected to the primary and then has to synchronize back to the secondary which happens every 5 mins by default.
Keep your deployment as simple as possible and dont make it more complex than it needs to be. https://docs.microsoft.com/en-us/windows-server/identity/ad-fs/design/federation-server-farm-using-sql-server explains the WID limits which should influence whether you need SQL.
You should troubleshoot WAP trust issues using guide at https://adfshelp.microsoft.com/TroubleshootingGuides/Workflow/da33a6cd-166b-4fca-863a-73aec904c3fd . If still stuck contact Microsoft support.
QUESTION
I would like to change the footnote in the text. More specifically I want to put the full stop after the footnote like in this concept. Online seems the only solution is with a macro, but I have no idea where to start.
I've only found this script close to the solution
...ANSWER
Answered 2021-Jan-16 at 21:33The macro you found has nothing to do with changing the position of footnote references; it simply updates any fields in footnotes.
The following macro processes footnotes and endnotes.
QUESTION
Per Mathieu's reply, I managed to create an ActiveX button via
...ANSWER
Answered 2020-Nov-26 at 10:03Is this what you are trying?
QUESTION
I am trying to run an Excel VBA subroutine to save a Word document.
Language version: Word/Excel version 16.41
Operating system: Mac OS Mojave 10.14.6
I tried: (https://www.reddit.com/r/vba/comments/ivwxlw/trouble_with_path_when_saving_basic_word_document/)
I am starting from scratch on a different computer and operating system. I am now using Mac OS Majave 10.14.6 and Word/Excel version 16.41. I was able to open tools-references-and select the Word library, but now References is unhighlighted and unclickable. (it was briefly before also)
I encounter:
Run time error -2146959355 (80080005) Automation Error.
The line that needs debugging:
...ANSWER
Answered 2020-Sep-26 at 16:23See freeflow's comment, which should be posted as answer. In VBE, pick Tools > References > Microsoft Word 16.0 Object Library.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install msoffice
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page