Vba Excel. Cannot display help file to user-defined function in addin - user-defined-functions

After I saved an xlsm file as an xlam file (an addin) and installed the addin. The help file can be displayed by clicking on the "Help on this function" in Insert Function dialog box.
However, after I closed Excel and opened again. The addin was still installed, but the help file cannnot be displayed. To get it displayed, I need to uninstall and re-install the addin again while Excel was still opened OR uninstall the addin, close the Excel, and install the addin again.
Here is my code:
Private Sub Workbook_AddinInstall()
Installed = True
Application.MacroOptions "AvgN", HelpFile:=ThisWorkbook.Path & "\AvgN Help.chm"
End Sub
How to get the help file displayed without needing to uninstall and re-install the addin again and again? Thank you.

Related

Excel add-in does not load automatically to my excel test file when running in visual studio

When I use the "new workbook" option as the start document, the add-in loads automatically but when i add my own test file it doesn't load. I have to go to manually start it in the insert tab.
How do i fix it?
I figured it out:
Simply click save in Excel after loading the app from the insert menu.

Margins in Visual Basic Editor Excel 2016

My visual basic editor only allows me to type in one column. In other words, only one letter per line. Please see the image below. How do I fix this? (visual basic for mac)
This is a bug in Excel. To fix this, you simply need to update Excel. Click "Help" > "Check for Updates", then close Excel. Next, click the "Check for Updates" button in the Microsoft AutoUpdate window, and select for Excel to update. After updating, when you reopen Excel the problem will be fixed.
Never mind, found the answer here :
http://answers.microsoft.com/en-us/mac/forum/macoffice2016-macexcel/visual-basic-support-in-mac-2016/4afbba04-4435-4970-8b02-40da006a590e?auth=1
MS has no plans to push the VB editor forward on the Mac...Wonder if they put that on the glossy brochure for office 2016?

How to export image from Orca for Visual Studio 2010

I am working on Visual Studio 2010 Setup project.Now as per my requirement i have change the BannerBitmap and SplashBitmap image permanently and update it with my custom Images.For this i have got a wonderfull Article here Article.Followed to which i downloaded Orca and changed the image accordingly but its not getting reflected into my Setup.Later on my search i got to know that i can export the images using the Orca but i am not getting to know how?I want this so that i can see if my image is saved there or not?
Please help me.
Open the MSI file with Orca. Go to the Binary table. There should be a row there with the name DefBannerBitmap. If you double click the [Binary Data] cell you'll get a dialog and you can write the file to disk from there.

Error message when clicking hyperlink in Excel file

I am working on SSRS 2012. In main report having hyperlink. When click this hyperlink in browser (IE 11 or Chrome), it open sub report correctly. But once i download the main report to Excel 2013 and click hyperlink, it can't open sub report.
I am getting following error message in Excel file.
Unable to open "http://...". Cannot download the information you requested.
In SSRS 2005, it is working fine.
How can i fix this issue in SSRS 2012?
Thanks,
Raja Shekhar Reddy
if exactly the same link works in your browser, but doesn't when you call it from Excel try this:
open IE
press alt (if you don't see main menu on the top)
click on 'File'
untick 'Work Offline'
this helped me

How to enable open XML Package Editor power tool for Visual Studio

I want to create customized ribbon on my excel sheet. I saw some of the tutorial (e.g, http://www.youtube.com/watch?v=hn3Qkp4Jw34) where they used Open XML package editor power tool for visual studio 2010 and worked on some xml configuration file to add ribbon. Hence I downloaded the tool and installed it. But when I drag and drop the excel file to the VS-2010, the file instead of opening in the VS editor it is opening in its new excel window. I tried to do same thing for a word file but still it is opening in new word window instead of opening in VS editor. Anybody could you please help me regarding this. I was using Visual Studio 2012 but then I came to know that Open XML package editor power tool for visual studio 2010 won't work for VS-2012 hence Installed VS-2010 but still getting same problem.
Thank you
Anup, Have you tried going to File->Open from Visual Studio?
If that opens it from an Office client application as well, then the Visual Studio Package Editor is not the default option for opening documents of that file extension.
If the document is a part of a solution (you can just create a new blank solution and add it in) you can right click on the file from Solution Explorer and choose "Open With", from there you can choose to open that file as a "Package File", and you can also select this as the default way to "open" files of that extension in Visual Studio.
I work for Microsoft and have just updated this plugin to work with VS2012 and 2013. Drag and drop should work in all the VS versions (I just tested it) but perhaps it's worth trying downloading the updated extension from the Gallery and seeing if it works for you in the newer VS version.

Resources