Code to add custom auto number to MS Word bookmark
by A_Classic_Man » Sat, 08 Dec 2007 08:24:18 GMT
I have an Access form that sends data to bookmarks in a Word document.
The command button that sends the data to Word also activates code
that adds a "next number" to the form. The number comes from a single
record table "Make Next Number". That number also appears on the Word
Document. Data can be added to the Word bookmarks and sent back to an
Access table.
On occasion, data is originated on the Word document and sent to the
Access table. How do I get a "next number" from the "Make Next Number"
table to add to the record that was originated on the Word document
and sent to the Access table?
Thanks in advance
Ron
Re: Code to add custom auto number to MS Word bookmark
by A_Classic_Man » Sat, 08 Dec 2007 08:25:32 GMT
I should add that I am using Access and Word 97
Similar Threads:
1.MS Word Custom Properties and bookmarks
Hi hi,
hope this is the best place to start:
We have a MS Word Template that stores important document information in
3 places: in Document Properties, Document Custom Properties, and inside
the document in bookmarks. A VBA macro currently manages this task.
The template and the resultant docs are stored on a local file server,
but we will soon use a SharePoint Portal Server, or WSS to store and
manage documents instead.
Ideally we want a single doc library, with 'Views' created based on some
or all of these individual or groups of info.
Can I 'transfer' these three sets of info along with the document itself
to the SharePoint doc library, so that we can manage potentially
hundreds of docs in one 'folder' on SharePoint Portal or WSS? What do I
need to know in order to get the most info out of the documents and into
SharePoint/WSS?
Thanks in advance!
--
ben
2.auto correct does not use words added to custom dictionary
I copied my custom dictionary from another machine.
When I type, the automatic spell checker flags misspelled words as errors
(ex flags "tso"). After I click "spelling and grammar", word finds the
custom dictionary and recognizes "tso" as a valid word and changes it to caps
(as desired).
How can I set it to use the custom dictionary as I type (automatically
change tso to TSO) ?
It worked on my old machine why does it work differently now?
THANKS FOR YOUR HELP
3.Custom context menu in Word 2007 executing code in Add-In
4.How to add a custom hidden object into MS Word Document
hi!
i am working in VC7. I want to add a custom object (Image+Data) into the MS
Word Document. The Data will be something related to the image i.e name of
the image, format details etc and will be linked to the image shown on the
word document. Further more the data will be hidden. i.e. not visible to the
viewer of the document.
i have added the image into the Word document using the following code.
VARIANT var1; VariantInit(&var1);
VARIANT var2; VariantInit(&var2);
var1.vt = VT_BOOL; var1.boolVal = true; //SaveWithDocument
var2.vt = VT_BOOL; var2.boolVal = false; //LinkToFile
spSelect->InlineShapes->AddPicture("C:\\Documents and
Settings\\ahmadjalil\\My Documents\\My Pictures\\Sample.jpg",&var2,&var1);
VariantClear(&var1); VariantClear(&var2);
where spSelect is smart pointer of type Selection Object.
if some one knows about that. Please help me.
Thanks in advance.
Ahmad Jalil Qarshi