Has anyone come across a VBA (or other) program for implementing dynamic autocomplete in Word? Emacs has had this for decades, and it would be great to have it in Word. I see others in this forum are looking for code for Android, so this topic isn't completely obscure. It would be great to type ac* - and get Word to fill in "across" based on previous text.
Seemingly both Openoffice and MS Office has some sort of Auto-complete. I don't often use word processor though, but I hope it helps.
Related
I am just starting to learn VBA for Excel 2013. Just wondering if native VBA editor which come with excel 2013 is any good? I did some research, some people are saying that previous navtive vba editor function is insufficient, some people are saying that VB 6 is good enough for VBA.
Is there any better vba editor out there?
As far as I'm concerned, the built in VBE is the best way to go. It has not changed in the last 10 years or even longer, but it is tightly integrated into Excel and does everything you need, especially as a beginner.
some time passed since you asked, but maybe someone else might find it useful. I looked for the same thing and couldn't find anything good until I found Notepad++.
It makes analyzing the code much easier.
I was looking at software to write novels and stories and they have basically the same organizational format. They have a tree on the side and folders for organizing. Here are some examples:
http://storyist.com/assets/screenshots/StoryistCollage-Full.jpg
http://www.literatureandlatte.com/scrivener_pages/screenshotcommentary.php
I have Microsoft Word and being a programmer (among other things), I wondered if there is a way to use VBA controls and create this look and organizational process in Word.
Is there any way to do that? If there is, how would I begin? Or, is this something I need to do standalone?
EDIT: Here is what I am looking for:
http://writingoutliner.com/software-features/project-based-writing-for-long-documents.php
Is this possible solely with VBA?
Your question if broken down would be something like this
I wondered if there is a way to use VBA controls and create this look and organizational process in Word
Is there any way to do that? If there is, how would I begin?
Is this something I need to do standalone?
Unfortunately Word would be a wrong choice if you want that kind of professional Look. If you want a standalone I would recommend creating a CHM (Compiled Help Modules) file. It would look something like one of your Windows Help File.
There are many free software's that can create CHM Files for you. One such link is here.
If you want a really amazing tool (I use the same and unfortunately it is not free) then check out Help and Manual 6
If you still want to do it in word, you will have to use VBA and then use the Treeview Control in a userform. The biggest disadvantage of Treeview is that it is not distributable. To see how to work with Treeview control, see my other reply here.
Please someone help me to find sources to learn writing macros for MS Office Word. I am ended up with getting web pages for only "Recording macro" explained in different ways. While seeing those web pages i got to remember the sentence
"Sometimes people come up with awful analogies in an effort to describe a concept
which is too difficult for a regular person to understand.An infinite number of
monkeys hitting at an infinite number of typewriters for
an infinite amount of time will eventually produce all works of Shakespeare."
from infinite monkey theorm. Recording macro is very easy one. Most of the writers ended up with writing this article.
Please someone suggest me to learn writing Macros for MS Office Word. I am using Word 2007.
Since you are already familiar with the syntax, I suggest a site like this (its a cookbook approach): http://www.thezcorp.com/VBACodeSamples.aspx
Also, you can still press F2 to access the object browser and then filter the selection to just the Word library.
Is there a way to use Unicode paths/filenames in Word 2003 or higher VBA code?
It appears that Word supports Unicode path/filenames via its interactive dialogues, but when our VBA code tries to manipulate Unicode path/filenames exposed via Word properties, we get back strings with lots of question marks.
Is there something we need to do have Word VBA work in a Unicode mode?
Oh, it's a real pain. I've been using this, which has been very helpful. There are ways to manually build this support directly in VBA. A couple of searches turned up things like this.
Note that this still won't help with the dialogs, etc. as they are set to the LocaleID of the OS (so if you change your OS display language to the local language, they should appear just fine).
I need interop in my programs to automate several functions in Word and Outlook. Does anyone know a good place to start. My goal is to kick off a mail merge, create several different files and save them accordingly, then e-mail the different files to different people based upon who needs what. Any help learning how to use the interop properly would be greatly appreciated.
I am currently using Visual Studio 2008 and Office 2007 and use vb.net to write my programs.
A good way to get started is to use the macro editor to record the steps you are trying to perform. You can take the generated macro code and modify it for your purposes to suit. Click on the names of functions and variables of which you do not know the purpose and hit "F1" to get context specific help.
Add COM references to Outlook 12.0 Object library and Word 12.0 Object library.
This web page really helped kick me off: http://support.microsoft.com/kb/316383
Then, by recording macros you'll expose a lot of the stuff you'll likely want to work with. Word of warning, however, is that not everything exposed in VBA (macros) is accessible within VB .NET. I don't know why this is, but I've actually had to construct and execute a macro from VB.NET, written in VBA, within Excel to accomplish something that seemed ridiculously easy if it weren't for the strange disconnect between the two.
Some good info on Mail Merge: http://support.microsoft.com/kb/258512
Here's an article with some basic steps to get you up and connected with Outlook's Interop: http://support.microsoft.com/kb/313787
Hope this helps. I'll keep an eye out for questions from you here--I'd say I know quite a bit when it comes to interop.
You might want to start here: http://msdn.microsoft.com/en-us/office/bb266408.aspx.
There are a number of tutorials.