Visual Basic for Applications (VBA)
Add-ins problem in Excel generated by Word Macro
I am using microsoft office word 2003 with SP2 and Microsoft office Excel 2003 with SP2I have Analysis Toolpack , Analysis Toolpack -VBA enabled in my Excel application1. I have written macro in WORD to create and open a new EXCELapplication as bellowSub Macro1()Dim oExcel As Excel.ApplicationDim oBook As Excel.WorkbookDim oSht1 As Excel.WorksheetDim oSht2 As Excel.Worksheet Set oExcel = CreateObject("Excel.Application") oExcel.Visible = True Set oBook = oExcel.Workbooks.Add Set oSht1 = oBook.Sheets(1) Set oSht2 = oBook.Sheets(2)End Sub2. If i go and open the generated EXCEL application and if i try to use DEC2BIN, DEC2HEX, BIN2DEC, BIN2HEX, HEX2BIN, HEX2DEC all these EXCEL add-ins, it doent work and shows #NAME?Ex: in Cell A1 i wrote =DEC2BIN(B1,C1) where i have B1=255, C1=8Result in A1 is #NAME? that means EXCEL cannot recognize the =DEC2BIN() add-insNote: Analysis toolpack , Analysis Toolpack-VBA is enabled3. Now i disable Analysis toolpack , Analysis Toolpack-VBA add-ins in the excel application and enable it back. Strange thing happens.If i double click the Cell A1 the =DEC2BIN(B1,C1) formula works fine now.This problem doesnt exisit for the other add-ins like CONCATENATE,RIGHT,LEFT ... Everything works other than above data conversion add-insDid anybody face this problem earlier? Are there any mistakes that i am doing while opening EXCEL application from word macro?please let me know how to overcome this problem in word macro generated Excel applicationthanking you allwith regardsChandranath.M
Conditionally formatting a looped range of cells based on value in other cell in VBA
How to get the List of Visible Items from a Pivot Field using VBA
How to run a macro when a Filter is applied on Particular Pivot Field
Add a new property to an existing object
How to Allocate Input Numeric digit to Concerned Numeric header Column
Range referencing in Copy and Paste Formats
VBA6 trouble in WINDOWS 10
VBA dynamic formula reference
Sorting and selecting cells based off name.
How to tune auto filter option for our need???
VBA Loggin into secure websites
MS Project import of custom field data from Excel resulting in Run-time error 462
How to write a filtered data as a text file using macros???
Block specific site and show custom content?
Need Urgent Help, Plzzzzzz what code add in vba to display a html web link, it should be display in outlook body. not a link should be display as we open in explorer