Macros on toolbars, because Ctrl+Letter is not helpful to me
Hey I'm using Word Macros and find them quite useful! I want to use VBA code in Excel too. It seems the underlying language is the same (I'm guessing). What bugs me is that I can't assign a macro to a...
View ArticleWord macro - to do some clipboard maths magic
Hi. I would like to be able to highlight a number and then have the macro do the following - add 90 to it So, for example, if I was to highlight '2' and click on the Macro button it would return '92',...
View ArticleFor Excel Macro - what is code for move to last empty row and pastesomething
Hi I'm working through some huge Excel spreasheets. The first thing I do is press Control-F and seek '12345' to look for a given row. Once I get to that row, I basically press 'tab' until I reach the...
View ArticleHow do I write a loop statement to that will stop at the end of the doc?
I am doing a search on a document and need to perform some actions when the search criteria is met. I am having a problem getting the loop to stop at the end of the document. It just keeps looping. I...
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 Articlemacro to save .csv in excel 2007 .xlsx format
Hi everybody, I am putting together a macro that requires saving a .csv spreadsheet to Excel format (.xlsx). The file has always the same structure but the name changes according to the date (it's a...
View ArticleLoops become very slow
Hi, I've copied in (below) a macro i've been working on. The gist of what it does it loops over all the tables in the documents and checks to see if the following paragraph starts with "Table: ", if it...
View ArticleUnable to set the desired column width for a table with merged cells
Hi All, I need to copy a table, the values of which are much easier computed in EXCEL; to word. I need an exact replica of the EXCEL table (i.e. I need exactly the same layout, merged cells, row...
View ArticleSearch, find and highligh multple words in one document
I work with lawyers who often times get contracts send in MSWord for review.. We are trying to find out if there is a way to put a list of words -- example "asbestos, combustibal material, body of...
View ArticleGetting rid of hyperlinks
I have received a document which is choc-a-block with linked email addresses which make it hard for me to copy and paste. I don¹t need the links at all. I have created a macro which goes from one field...
View ArticleLost Macro that used to paste graphic as EMF, Convert to inline andresize,...
First of all, I am not a programmer. I created the missing Macro in Word 2003 using the macro recorder. Now it is gone (although my other macros in the same template are still there) and I don't have a...
View Article[Urgent] Print Repeatedly Character at End of Paragraphs
need help from all of you guys.. i want to print (-) repeatedly at the end of my paragraph until it reach the end of line so it just looks like : Name : John ---------------------------- Birthday :...
View ArticleNumber to Words (urgent)
Dear Team, Good afternoon, I am using Word 2010, and every day i have to create one letter, and in that letter i have to enter Amount For example ($100.10) and need to write as (USD one hundred dollars...
View ArticleBase de données par copier/coller
Salut à tous. Je suis nouveau en vba et au forum. Mon problème est que je dispose d’un répertoire contenant plus de 600 documents Word (association estudiantine) d’une page chacun et contenant chacun...
View ArticleWord 2003: Want a macro for accept + next change
Not sure which newsgroup this belongs in. Sorry for the cross-post. I have Office 2003 on my desktop. When I compare two documents in Word, I get the "reviewing" toolbar, which includes buttons for...
View ArticleDeleting cells with VBA
Hi All, I have already posted this message once, but I can't see it. If it pops up later - apologies. Can any of you gurus tell me how to select and delete a row of cells using VBa if the row is empty....
View ArticleVERY URGENT!!!
I am extremely new to VBA, but I have been seeing other people's Macros andlearning, but not much. I am having a huge problem. I am working with a Requirements Tool that stores all requirement data...
View ArticleChanging Sort
When I want to sort my lists (not numbered, but have hierarchy numbers, it will list them as follows: 1.1 1.1.1 1.1.1.1 1.2. 1.2.3.4.5 1.23.235 1.3 1.3. 1.34.24 1.5.1 1.52 Last time I checked, 23 is...
View Articlerestricting code.
anyway to have a repeating tables function in word? with bookmarks or ranges or something? such that code in one column doesn't affect another
View ArticleWhy does this -> ActiveDocument.FormFields.count equal zero?
Hi all, I've added numerous listboxes to my document using the "Control Toolbox" Toolbar. Now when I use the following VBA: Dim aDoc As Word.Document Set aDoc = ActiveDocument MsgBox...
View Article