What is the best way to share/distribute Excel macro? [closed] - excel

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I wrote the macro in Excel and want to distribute it to the users. Once opened I want the macro to add itself as a toolbar and then to be always visible whenever the Excel is opened. So the macro can be conveniently accessed used from all workbooks.

IMHO, the easiest way is to create an add-in with your code and give it to the users.
See this link on ozgrid to learn how to build addins.

For Sub's tied to toolbars an Addin - as said by JMax - would be my choice. For formulae specific to your business a regular empty Excel file with one or more modules containing Function Xxx(), placed in the Autostart folder would be sufficient.
A server directory which is added to the user's path of Autostart folders is an easy way to auto-distribute formulae.
I am using the latter for instance for IP address calculations

Related

Is it possible to have Excel add-in detect if any workbook is being closed? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 days ago.
Improve this question
For a workbook itself, I can put code inside a Workbook.BeforeClose. But is there a way I can have my add-in listen for a workbook.close on any of the workbooks that might be open? I have the add-in do most of the work, with very little code in the workbooks. Thanks!

Microsoft Visio - automatically refreshed org chart [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I would like to create automatic connection between Excel that contains organizational structure data and Visio that creates organizational chart. My goal is to make Visio to reflects all changes in excel file, such as: changing positions, adding or removing employees.
I tried option with linking data to shapes but it is not what I want - it does not reflect changes in structure. It only refreshes data about existing employees.
Additionally, I designed chart in Visio that is readable (organization have over 10k employees). It generated a lot of manual work to make this visually appealing. I would like to have refreshing solution that would not break my existing design - just to replace/add/remove data from excel file.
Is there any existing solution to make this happen? I googled a lot but found nothing what works.
I will be grateful for help. Myabe you had similar problem in your organization?
Visio will not do what you want. The Visio offering is good for what it does but it is a one-size-fits-all solution.

Automated edit of an excel file [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I've got no experience in how to automate tasks in excel but here is my scenario. I have a CSV file which is uploaded to an FTP server every 4 hours from my distributor, in this feed there are around 50 different categories of products, i need to find a way to automatically remove categories i do not need and then for it to save the revised in FTP.
I am trying to import my suppliers products into my ecommerce store and do not want half of the categories that include in their feed. I've asked them directly about selecting certain categories but they said that's not possible.
Can what i ask be achieved?
You should look into Python's ability to read and write .csv files.
Check out these two links also:
https://code.tutsplus.com/tutorials/how-to-read-and-write-csv-files-in-python--cms-29907
Read specific columns from a csv file with csv module?
I think after informing yourself on how to automate tasks in excel, then you can ask better questions about the issues in your attempt to tackle the problem.

How can I make a program to operate another program? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
So what I'm wanting to do is pretty lame. Anyway, what I'm wanting to do is basically make a bot that will do some specified tasks for me.
I have an emulator on my laptop that when open, operates like an Android phone, and I'm using Snapchat on it. What I have been trying to do is make it send my 'streaks' on Snapchat a picture everyday at specified times. I have tried using a Macro Recorder to do this, but the loading time varies.
My questions are:
1) What programming language should I use for this?
2) What would be the best application to use? (Like Notepad, or some other application)
Any help is appreciated :)
Have you heard of autohotkey (AHK)? It's a macro app, but also a very powerful programming language. Entire apps have been written in it.
You can also use it to control other programs.
reference:
http://ahkscript.org/

What is the best way to create user help documentation for an Excel VBA solution? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
VBA solutions can vary widely in size.
I would like to add user help documentation to all solutions but the level of effort to create and deploy the help needs to match the size of the solution.
You should check the VBA version of MZ-Tools. It is an add-in for VBA that can automatically generate documentation from your code (function name, parameters, comments, subject, etc.). You can also use it to automatically generate line numbers, onError labels, etc. More on the automatic documenting feature can be found here.
It is free, easy, and very efficient. Once you notice how much you save time by using it, please do like me: donate.
You may wish to consider HTML Help. It allows you to produce help files that are similar to standard Microsoft help. It is not particularly difficult to use, for the most part.

Resources