|
Get word from word doc on mouse right click
Hi,
How can I get the word in a MS Word document when we right click the mouse
on it or when the cursor is at the word's end. I am not selecting the word
out here.
It is like similar to what MS Word offers when we right click any word and
select "Lookup" from the context menu or use "Spell Check" for it....
|
3 |
28.09.2006 04:31:02 |
|
copy macros
I need to copy users old macros and toolbars from one location to another.
Has anyone done something like this? My goal is to automate the process so
that the individual only needs to click a button to copy over all of their
macros and toolbars.
Any guidance would be very much appreciated.
regards,
--
sallisontaylor...
|
9 |
23.09.2006 01:47:25 |
|
Calendar control (mscal.ocx)
Does anyone have experience with the calendar control (ver. 8 for Office XP)?
If I have to download mscal.ocx to a computer and register it (necessary
when Access isn't installed), in my add-in in the VBA editor, I still have to
choose Tools, Additional Controls, and then re-draw the calendar back onto
the userform. Obviously, this precludes me from being able to share the
add-in wit...
|
5 |
21.09.2006 11:52:02 |
|
Word was unable to read this document. It may be corrupt.
Hi everybody,
I am having a Word document that I cannot open receiving
the well know message from Word 2003.
Word was unable to read this document. It may be corrupt.
Try one or more of the following:
* Open and Repair the file.
* Open the file with the Text Recovery converter.
(C:\Documents and Settings\...\test.doc)
The Document form Microsof...
|
3 |
19.09.2006 02:57:02 |
|
Find "my document" folder path
I am attempting to find the path of the "my document" folder via VBA.
The folder has been redirected and in some cases renamed so I can't just
assume that it is located in the usual location.
Any guidance on locating this path in VBA would be greatly appreciated.
--
sallisontaylor...
|
3 |
15.09.2006 00:25:01 |
|
bookmark macro
i have a VBA addin for word that will fill in multiple bookmarks in a
document. So, if i have bookmarks in a document bkName, bkName1, bkName2,
ect.......throughout the document the program will fill in the name in the
right spot. it simply looks for a new
My users are novices. i am trying to build them a toolbar to simplify the
process.
i have the toolbar built which includes a b...
|
2 |
10.09.2006 08:38:39 |
|
Repeating Table Headers on Each Page
In Word 2003 (using Visual Basic), I am attempting to programmatically create
a table and fill the rows (which I have done successfully). Now I want the
Table Header to repeat at the beginning of each page.
I have tried the statement:
tbl.Rows(1).HeadingFormat = -1
I am wondering since my table is being created dynamically if that is an
issue. Do I need to manually check for...
|
6 |
08.09.2006 22:38:06 |
|
Set Subject with sending Mail
Hi,
I want to set the subject while sending a via true msword.
Who can I change the subject in VBA?
Alex
...
|
5 |
07.09.2006 17:59:24 |
|
Determine if doc has attached code
Hi,
I have a problem wich i hope somebody can help me with. In my Word 2003 COM
Addin, I want to determine if any open documents have associated code. I do
this as follows,
int vbComps = doc.VBProject.VBComponents.Count;
However, if the user has not selected "Trust Access to Visual Basic Project"
macro security setting then any attempt to access VBProject object members
results in a...
|
4 |
07.09.2006 11:13:01 |
|
Status bar reseting
I am using the status bar of word to display some help text for form fields.
This works fine but the help text stays displayed after the user has moved to
another location. I then remove the help using the application.statusbar=""
in my VBA code. This has the effect of clearing the status bar but not
returning it to its original state of displaying the page count and so on.
Is there a wa...
|
2 |
05.09.2006 19:56:13 |
|
Re: Word was unable to read this document. It may be corrupt.
here is the file
"Carlos Bastos" <cbastos@gmx.co.uk> wrote in message news:...
> Hi everybody,
>
> I am having a Word document that I cannot open
> receiving
> the well know message from Word 2003.
>
> Word was unable to read this document. It may be corrupt.
> Try one or more of the following:
> * Open and Repair the file.
> * O...
|
4 |
03.09.2006 14:06:15 |
|
Copy row based upon style
Hi i have a table with a customized style called "A Grade" . Meaning when
an 'A' is given this style is applied:
Name Classs Grade
Steve History A
James Art B
Tad Music C
Vin Art A
I would like to have vba code search through this table and copy and paste
the
Grade of A's out of the table and paste them into a new document....
|
2 |
03.09.2006 07:11:19 |
|
VBA Code
I have a seeming simple task that I can't figure out.
I have a macro set up to refresh a query and then do some copying and
pasting of cells.
What code can I use to tell the macro to wait until the query is finished
refreshing until it does the copy and paste?
Here is the simple code.
Sub GetData()
ThisWorkbook.RefreshAll
' I need the following code to be run after the refresh is...
|
3 |
01.09.2006 17:29:02 |
|
Typing text in a frame
Hi
I've got a macro with these lines on code in it.
Selection.GoTo What:=wdGoToBookmark, Name:="Department"
Selection.TypeText Text:=strDepartment
Selection.GoTo What:=wdGoToBookmark, Name:="Address"
Selection.TypeText Text:=strAddress
Lines 3 & 4 work fine. Lines 1 & 2 appear to work but the text doesn't
appear. The only difference is that the bookmark ...
|
5 |
30.08.2006 09:07:01 |
|
Word 2003 Shortuts
Hi all,
I defined several shortcuts to macroos. All shortcut keys are displayed
in the keyboard menu, so they all exists, But he problem some work and
some don't. I even wrote a macro with keybindings. That even didn't
help.
Anyone a solution?
...
|
5 |
23.08.2006 07:26:18 |
|
copy select rows
Hi
I would like to have a macro to find a particular style(A) and copy that
row. Once it finds all the "A" styles, it should copy all the rows to the
clipboard and open a new document and paste the clipboard contents. Here is
part of the pseudocode:
Jim
History
Fall
A
Great student
Alice
Art
Spring
B
Loves to learn...
|
2 |
20.08.2006 04:38:37 |
|
FAQ - Frequently Asked Questions - vba - please read before posting - unofficial August Posting
FAQ = Frequently Asked Questions - brief - vba - unofficial
This FAQ is posted every ten days or so.
Please save us all some time by reading it before posting to the
news group.
This newsgroup is about VBA - Visual Basic for Applications -
which is the programming language for Word 97-2003 (macros).
There is a longer FAQ with more questions and links that is
regularly posted in the non-...
|
1 |
07.08.2006 16:43:30 |
|
Capture insert new row in table event
Is it possbile to capture the insert new row (above or below) event?
When they add a new row I want to add bookmarks to the cells?
Any help/direction is much appreciated.
Thanks
-Sarju
...
|
3 |
04.08.2006 21:42:42 |
|
Nested Loop statements
Hello,
Im relativly new to VB and having some problems I hope someone can help me
with...
I have some master worksheets listed on a page called tree (they are in
coloumn H) which I wish to copy some of these have sub worksheets (also
listed on Tree) underneath in coloumn (i) which I would like to copy into the
same workbook. I have tried to do this below by using two loops but am not
su...
|
2 |
02.08.2006 13:45:09 |
|
Black Belt Problem: How to load 20x20 icons in Word (Office CommandBarButton)
** reward for solution! **
Can anybody tell me how to accurately load the contents of a 20x20 bitmap
(or even a 16x16 bitmap) into an Office CommandBarButton in Word? I've been
trying to get this to work, and tearing my hair out (so please accept my
apologies for posting to 3 groups.)
I have examined the Office CommandBars in Word 2003 in detail, using
magnifier. It is quite clear ...
|
6 |
01.08.2006 15:10:01 |
|
Set different keyboard shortcuts to different documents
i need to set unique keyboard shortcuts to different types of dicuments.
I tried to use template and to each template set the unique keyboard
shortcuts.
When I open couple of different word documents in the same time the last
opened document influance the previous opened documents.
It is happenning when openning documents in the same process.
I cant force the user to open a docuemnt i...
|
3 |
31.07.2006 13:59:39 |
|
Paragraps range Question.
Hi all,
I'm trying to collapse and expand a range of paragraphs in my word document
programmatically using c#. My purpose is the user can click a button then a
range of paragraphs collapse or expand as same as the function provides in
outline view.
can anyone give me some hint how to do it in c#.
Thanks Forum...
|
2 |
30.07.2006 21:40:24 |
|
cell name
I have an embedded excel sheet in my word doc.
I wonder if I can name a cell (my totaling cell) in the excel
worksheet so that I can use it to update a field instead of hardcoding
an r1c1 addr that will change under various conditions? I've looked in
Word's format/cells, but it doesn't show anything about naming excel
cells.
Thanks
Joanne...
|
3 |
27.07.2006 04:11:09 |
|
FAQ - Frequently Aske Questions - vba - please read before posting - unofficial July posting
FAQ = Frequently Asked Questions - brief - vba - unofficial
This FAQ is posted every ten days or so.
Please save us all some time by reading it before posting to the
news group.
This newsgroup is about VBA - Visual Basic for Applications -
which is the programming language for Word 97-2003 (macros).
There is a longer FAQ with more questions and links that is
regularly posted in the non-...
|
3 |
26.07.2006 15:17:37 |
|
HOWTO Add a button to Word's current toolbar.
HOWTO Add a button to Word's current toolbar.
Please help,
I'm using VC++ and I want to add a button to a Word toolbar. I want the
button to invoke a macro I make on the fly, but first I need to gett he
button there. The difficulties I see are as such:
1) Given the Application object, how do I find which tool bars (or command
bars) are currently up?
2) Are there "default" Word to...
|
3 |
24.07.2006 16:53:02 |