office-2013

How to retrieve data from Excel and add to Word

我怕爱的太早我们不能终老 提交于 2020-04-16 07:46:30
问题 I have a Word template file that retrieves data from an Excel file to populate a form. The code looks something like this: Dim myXL As Object Set myXL = Getobject("myfile.xls") myXL.Application.Visible = True myXL.Parent.Windows(1).Visible = True This code works fine in Office 2010 and 2007, but when I try it in 2013, it gives run time error 9 which is an array subscript error . When I check the Windows array it has zero elements, so error is correct. How do I achieve the same result in 2013?

How to retrieve data from Excel and add to Word

喜欢而已 提交于 2020-04-16 07:46:12
问题 I have a Word template file that retrieves data from an Excel file to populate a form. The code looks something like this: Dim myXL As Object Set myXL = Getobject("myfile.xls") myXL.Application.Visible = True myXL.Parent.Windows(1).Visible = True This code works fine in Office 2010 and 2007, but when I try it in 2013, it gives run time error 9 which is an array subscript error . When I check the Windows array it has zero elements, so error is correct. How do I achieve the same result in 2013?

VBA Autofilter Excel 2013?

让人想犯罪 __ 提交于 2020-01-06 19:52:44
问题 I've been using a line like: Cells.AutoFilter 11, "0" for a while to autofilter column 11 for "0". I recently updated to Microsoft Office 2013 and now I'm getting an AutoFilter method of Range class failed runtime error with this line. Is this a compatibility issue with Office 2013 or some other problem? EDIT: I should clarify that I am not getting an error with a program I already run, but rather a line which I've used before and is not working for me right now. EDIT2: Code: Dim firstRow As

Calculation fields not working with dates

最后都变了- 提交于 2019-12-30 11:34:17
问题 I have seen quite a lot of examples looking for a solution, so I'm pretty certain that this possible. I have Custom Document Properties (properly defined as date) containing dates , and I want to make operations on them : {={ DOCPROPERTY DateFieldTest }+1 \@"d MMMM YYYY"} 'toggle DOCPROPERTY Field {=07/04/2016+1 \@"d MMMM YYYY"} 'toggle calculation field 1 I have also tried : {=DATE(YEAR({ DOCPROPERTY DateFieldTest }),MONTH({ DOCPROPERTY DateFieldTest }),DAY({ DOCPROPERTY DateFieldTest })+1)

Can't find installed Office 2013 Home and business with MsiEnumProducts

浪尽此生 提交于 2019-12-25 06:01:40
问题 I use MsiEnumProducts() to find all installed MS Office products and check their versions. If I have an Office 2013 Professional Plus edition, it works correctly. I receive a full list of installed office products, like word, excel, outlook, etc, with correct product code GUIDs. https://support.microsoft.com/en-us/kb/2786054 The GUIDs look like this: Microsoft Office Professional Plus 2013 - {90150000-0011-0000-1000-0000000FF1CE} Microsoft Word MUI (English) 2013 - {90150000-001B-0409-1000

Workbooks.Open method throwing HRESULT: 0x800A03EC

亡梦爱人 提交于 2019-12-24 12:34:39
问题 I am opening an excel file using object missing = Type.Missing; xlWorkBook = xlApp.Workbooks.Open(strFilePath, missing, false, missing, missing, missing, true, missing, missing, missing, missing, true, missing, missing, missing); and it throws HRESULT: 0x800A03EC It was working fine with office 2010 but after updating office libraries to version 15 and when deployed to server which had office 2013. I started getting this message. I have also tried giving permission to Excel Object in

how to use the pivot table mode in acces 2013 forms

孤街醉人 提交于 2019-12-24 11:37:07
问题 I was create a form in Microsoft Access 2010 from a table and load it in pivot table mode to watch the data in a Cube and i use it without any problem. but this pivot table mode is disable in MS-Access 2013 Pls. Help Me. 来源: https://stackoverflow.com/questions/14480367/how-to-use-the-pivot-table-mode-in-acces-2013-forms

MS Word SaveAs, check “Maintain Compatibility” via VBA

本小妞迷上赌 提交于 2019-12-23 03:29:13
问题 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,

UML diagram shapes missing on Visio 2013

时光毁灭记忆、已成空白 提交于 2019-12-20 09:27:26
问题 I have installed Visio 2013 Standard and I'm trying to create an UML diagram. I choose the "UML class" template but when it opens, the Shapes panel is empty. As recomended, I go to "More Shapes" menu, but cannot find anything related to UML. Have anyone had this problem and got a solution? Thanks 回答1: Software & Database is usually not in the Standard edition of Visio, only the Pro version. Try looking here for some templates that will work in standard edition UML 2.0 Diagrams and Shape

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

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-18 02:47:28
问题 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