Command Button - MsgBox
Hi, Am have created a Form in word, that has a Command button that opens up a msgbox, this message box ask a question for a yes/ no answer, I am unable to get it to return to document when no is...
View Articlesearch for special character in different fonts
Hi, I have some hugh document where some text is highlighted with --> which gives an arrow in word. The character is ^0224 in the font Wingdings. Now, the document was formated with different fonts....
View ArticleUsing ¿bookmarks? to fill a protected Word form
Hello I need to make a protected form with a list of 100 items numbered from 1 t 10 (item 1, item 2, item 3...), and a table with 2 rows In the row 1 I have some text fields When the user fill a...
View ArticleHow to loop a macro in a word document.
Hi Im new to visual basic so any help would be appreciated. I need to alter the format of some text in a word document, it goes something like this: Original Text text (123)=5.99 9.99 I need it to look...
View ArticleReading virtual COM port and import data in Excel
I want to make a device that gathers data and log it. It's a portable device that I can connect via USB and make it talk to the PC via a COM port (tried it with a terminal program). I'm not that good...
View ArticleRange lowercase
Hi, im writing a macro by Microsoft Visual Basic.I wanna declare a variable (classrng) as a range, but when i write "Dim classrng As Range" the software corrects me with "Dim classrng As range" with...
View Articlepreserve formatting with copy/paste in VB
Hi-- I'd like to make a program that preserves formatting in a copy and paste between word documents. Will VB do this normally? Is there an easy way to do this in VB? Thanks. Abe
View ArticleWord 2007 key bindings - VBA
Hi, I have problem with KeyBindings in Word 2007. I bind diferrent funcitons to Alt+8 and Alt+* (on numeric pad). It works just fine in Word 2003. However in Word 2007 it always calls Alt+8 bound...
View ArticleVBA Word Count
Hi, couple of minor problems. I wanted to help my wife with a macro that would count all the words in the document and also the number of words in bold. I can't even get to first base on this because...
View ArticleIgnore this post - troubleshooting post problems
Ignore this post - troubleshooting post problems
View ArticleIgnore this post - troubleshooting post problems
Ignore this post - troubleshooting post problems
View ArticleInterrupting a macro
Hi all, Hoping I'm in the right place for that question. I have a macro which scans a file, word by word, inserting some sequences of characters according to some conditions. This macro must sometimes...
View ArticleHow to Reset ButtonName and Filters in msoFileDialogOpen?
I am using msoFileDialogOpen or msoFileDialogFilePicker to select specific files. After I use the procedure "FilePath_FolderPath_1" below, the other procedure "FilePath_FolderPath_2" gives you the same...
View ArticleSet a suggested directory with vba from access
I have a form in msaccess 2003 that has a textbox field [CaseFolder] that contains a full path folder name. I have msaccess code on that form that opens Word. I would like, at that point, that when the...
View ArticleIntercept Word Build-in commands using VBA ?
Hi all, In Word 2007 I'm looking to detect a manual TOC update in order to automatically turn OFF and ON Word's Review mode. For the moment, the only clues I'm aware of are based on "events catching"...
View Articledisable print option for web page
I have a word file which saved as web page. I placed following codes to disable printing for this file. If I open the file with MS Word, the codes work perfectly well. However I do not want the user...
View ArticleExcel search Word docs?
Our primary data is stored in Excel 2007 workbooks, but some of our other data is stored in Word 2007 documents. Is it possible to put a macro in our Excel workbooks that uses any ADO techniques to...
View ArticleSpellCheck code and Word 2007
I have used this code *forever* in my protected documents without fail. http://word.mvps.org/FAQs/MacrosVBA/SpellcheckProtectDoc.htm As my company moves to Word 2007, I do expect hiccups. A customer is...
View ArticleAdded two fields on the form "x / y" in the top cell in a table oftwo rows in...
Hi - After many attempts, I have almost given up. Hoping to find help in here. Should have added two fields on the form "x / y" in the top cell in a table of two rows in the footer. The code below...
View Article