office-2013

Microsoft.ACE.OLEDB.12.0 Provider can no longer open .mdb under Windows 8

守給你的承諾、 提交于 2019-12-18 02:47:09
问题 I have an x64 application which uses Microsoft.ACE.OLEDB.12.0 provider to read an MS Access Database on Windows 7 (x64) and it works fine (Office 2010 installed). The same application running under Windows 8 with Office 2013 installed, fails with a message saying that the provider cannot open previous versions. Under Windows 8 with Office 2013 installed, there is also Microsoft.ACE.OLEDB.15.0, but I have double checked my code and certain that it is specifying the 12.0 in the connection

Excel 2013 64-bit VBA: Clipboard API doesn't work

假装没事ソ 提交于 2019-12-18 02:27:28
问题 I used to be able to use Windows API calls in Excel VBA to set text on the clipboard. But ever since upgrading to 64-bit Office 2013, I cannot. Below is some code that does not error, but it is also not setting any text on the clipboard. Can someone help me test and troubleshoot? After pasting the code below into a code module in VBA, you can test it in the immediate windows by typing Clipboard_SetData("Copy this to the clipboard.") and it should set that text on the clipboard and you would

Combine Multiple Tables Rows Into Master Table

孤人 提交于 2019-12-17 07:42:27
问题 Happy Monday Everyone! Have a question and hope you can help. I have a budget spreadsheet that has a budget tab. On this tab is about 8 tables broken down into different categories. Every table in the tab has the exact same columns. Is there a non-vbscript/marco way to create a master table that combines all of the tables into a single table in a different tab. This seems like it would be a no brainer but I have tried everything I can think of and find online and there doesn't seem to be a

Combine Multiple Tables Rows Into Master Table

牧云@^-^@ 提交于 2019-12-17 07:42:13
问题 Happy Monday Everyone! Have a question and hope you can help. I have a budget spreadsheet that has a budget tab. On this tab is about 8 tables broken down into different categories. Every table in the tab has the exact same columns. Is there a non-vbscript/marco way to create a master table that combines all of the tables into a single table in a different tab. This seems like it would be a no brainer but I have tried everything I can think of and find online and there doesn't seem to be a

Check the office License Status from batch file

时间秒杀一切 提交于 2019-12-13 08:59:32
问题 I am making a batch file that can check to see if your office 2013 has a icense or not. for /f "tokens=3 delims=: " %%a in ( 'cscript "%ProgramFiles%\Microsoft Office\Office15\OSPP.VBS" /dstatus ^| find "License Status:"' ) do set "licenseStatus=%%a" if /i "%licenseStatus%"=="--- LICENSED ---" ( Echo I am Licensed Pause EXIT ) Else ( Echo I am NOT Licensed Pause EXIT ) But every time I run this code it all way come back with a I am NOT Licensed. I have check it be running the ospp.vbs script

Excel 2013 Pivot table won't change current page until navigated to manually

孤街浪徒 提交于 2019-12-12 16:02:34
问题 We have a little piece of VBA code that worked perfectly for ages. It was essentially: Me.PivotTables("APivot").PivotFields("AField").CurrentPage = "Some text" This worked until Excel 2013, where the line would fail with an unspecific error: Runtime error 5: Invalid procedure call or argument. By trial and error we figured that in Excel 2013 you cannot navigate to a pivot table page with code until the user has navigated to that page manually using the Excel interface. As soon as the user

Excel macro is acting differently on two computers

不打扰是莪最后的温柔 提交于 2019-12-11 07:39:18
问题 I have a problem with an excel file. I programmed a macro last year to select all the worksheets with green as tab color in a Workbook. Everything was working fine on every computers until yesterday. The computer that actually need to modify that file start to act differently and only select the first worksheet. I uninstalled and installed excel again but it did'nt change anything. We're running on Windows 7 Pro x64 with Office 2013 Home and business. Here's my code : Private Sub Workbook

Outlook 2013 - VBA - Ribbon - onLoad not firing

你。 提交于 2019-12-10 21:38:28
问题 In %appdata%\Microsoft\Office\olkapptitem.officeUI I have: <?xml version="1.0" encoding="UTF-8"?> <customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="DoIt"> <ribbon startFromScratch="false"> <tabs> <tab idMso="TabMail"> <group id="group1" label="Hazaa!"> <button id="one" onAction="DoIt2" label="hi" visible="true"/> </group> </tab> </tabs> </ribbon> </customUI> In Outlook, in the VBA editor, I have a module called Module1 that has: Option Explicit Sub DoIt(ribbon As

MS Word SaveAs, check “Maintain Compatibility” via VBA

扶醉桌前 提交于 2019-12-06 16:43:25
There's a check box "Maintain compatibility with previous versions of Word" in "SaveAs" dialogue box, by recording a macro and have the check box ticked, I got ActiveDocument.SaveAs2 FileName:= _ "C:\Users\jondoe\123.dotm", _ FileFormat:=wdFormatXMLTemplateMacroEnabled, LockComments:=False, _ Password:="", AddToRecentFiles:=True, WritePassword:="", _ ReadOnlyRecommended:=False, EmbedTrueTypeFonts:=False, _ SaveNativePictureFormat:=False, SaveFormsData:=False, SaveAsAOCELetter:= _ False, CompatibilityMode:=12 tick it off, the only difference is CompatibilityMode:=15 according to

Can't find the list of most (all?) tab names for the ribbon in Office

一世执手 提交于 2019-12-05 01:18:33
问题 After some heavy googling, I've concluded that I'm unable to locate information on the id names for the different components of the ribbon in Office. For instance, even though the following XML works, I need to hide the add-in error display due to TabMail being at fault when a new email is being created. It's my understand that it's because I currently target all windows in Outlook but should be only targeting the main one. When a new email is being created, my add-in tries to insert itself