Click here to Skip to main content
15,911,531 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionMicrosoft Flexgrid Pin
viji]18-Oct-06 21:25
viji]18-Oct-06 21:25 
AnswerRe: Microsoft Flexgrid Pin
nlarson1119-Oct-06 4:29
nlarson1119-Oct-06 4:29 
GeneralRe: Microsoft Flexgrid Pin
viji]21-Oct-06 18:34
viji]21-Oct-06 18:34 
GeneralRe: Microsoft Flexgrid Pin
nlarson1122-Oct-06 4:33
nlarson1122-Oct-06 4:33 
QuestionActivedocument error - word addin problem [modified] Pin
K edar V18-Oct-06 20:08
K edar V18-Oct-06 20:08 
AnswerRe: Activedocument error - word addin problem Pin
Edbert P19-Oct-06 19:26
Edbert P19-Oct-06 19:26 
GeneralRe: Activedocument error - word addin problem Pin
K edar V19-Oct-06 20:16
K edar V19-Oct-06 20:16 
GeneralRe: Activedocument error - word addin problem Pin
Edbert P19-Oct-06 20:26
Edbert P19-Oct-06 20:26 
Please do us a favour and make your message easier to read, then we will be more inclined to help.

If you're calling the function on the OnStartupComplete of Word, then of course it will return an error as there is currently no ActiveDocument yet (i.e. no document is opened).

You should call the function on appropriate events such as when a document is opened or new document is created. This way you can be sure that there is an Active Document.
If you need further help, you probably might want to explain what is it that your function is doing.

"A democracy is nothing more than mob rule, where fifty-one percent of the people may take away the rights of the other forty-nine." - Thomas Jefferson

"Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote." - Benjamin Franklin

Edbert
Sydney, Australia

GeneralRe: Activedocument error - word addin problem Pin
K edar V19-Oct-06 20:43
K edar V19-Oct-06 20:43 
GeneralRe: Activedocument error - word addin problem Pin
Edbert P19-Oct-06 21:06
Edbert P19-Oct-06 21:06 
GeneralRe: Activedocument error - word addin problem Pin
K edar V19-Oct-06 21:23
K edar V19-Oct-06 21:23 
QuestionDecryption(plz urgent,,,_ Pin
ravimorampudi18-Oct-06 19:39
ravimorampudi18-Oct-06 19:39 
AnswerRe: Decryption(plz urgent,,,_ Pin
Dave Kreskowiak19-Oct-06 4:55
mveDave Kreskowiak19-Oct-06 4:55 
GeneralRe: Decryption(plz urgent,,,_ Pin
Colin Angus Mackay19-Oct-06 13:48
Colin Angus Mackay19-Oct-06 13:48 
GeneralRe: Decryption(plz urgent,,,_ Pin
Dave Kreskowiak19-Oct-06 18:02
mveDave Kreskowiak19-Oct-06 18:02 
AnswerRe: Decryption(plz urgent,,,_ Pin
Colin Angus Mackay19-Oct-06 13:51
Colin Angus Mackay19-Oct-06 13:51 
QuestionAccessing Controls On Other Forms Pin
johngod18-Oct-06 19:19
johngod18-Oct-06 19:19 
AnswerRe: Accessing Controls On Other Forms Pin
nlarson1119-Oct-06 5:05
nlarson1119-Oct-06 5:05 
QuestionHow to create Custom word Document Pin
chandu4codeproj18-Oct-06 18:34
chandu4codeproj18-Oct-06 18:34 
AnswerRe: How to create Custom word Document Pin
Edbert P19-Oct-06 19:30
Edbert P19-Oct-06 19:30 
GeneralRe: How to create Custom word Document Pin
chandu4codeproj20-Oct-06 17:51
chandu4codeproj20-Oct-06 17:51 
GeneralRe: How to create Custom word Document Pin
Edbert P22-Oct-06 13:02
Edbert P22-Oct-06 13:02 
QuestionInvalid Operation Exception Was Unhandled Pin
UltraCoder18-Oct-06 18:23
UltraCoder18-Oct-06 18:23 
QuestionLoad Report Fail in Win 98 Pin
khwo18-Oct-06 15:40
khwo18-Oct-06 15:40 
AnswerRe: Load Report Fail in Win 98 Pin
Dave Kreskowiak18-Oct-06 17:52
mveDave Kreskowiak18-Oct-06 17:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.