Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. babysophia

    Passing value from VB6.0 to Marco in Microsoft Word 2002

    thanks for replying guys! i added it in my code (wrdApp.Documents.Open "C:\Program Files\DAS\Report.dot", False) but it is still the same when i clicked on the file>save as. =(
  2. babysophia

    Passing value from VB6.0 to Marco in Microsoft Word 2002

    does anyone knows my problem? i'm almost done with my project. the only problem i have now is to make the SAVE AS TYPE as Word Document(*.doc) instead of Document Template(*.dot) and the default file name should be Document1.doc instead of Document1.dot. please help me. thanks. =)
  3. babysophia

    Passing value from VB6.0 to Marco in Microsoft Word 2002

    yes, user can also click on the save as under file menu but when the user click it, the save as type should be Word Document (*.doc) instead of Document Template (*.dot) and the default file name is Document1.doc. thanks! =)
  4. babysophia

    Passing value from VB6.0 to Marco in Microsoft Word 2002

    hi tryp, it's working now. thanks for replying. =) i just inserted the saveas command in the function below: i'm just wondering when i click on the file-->save as, the value of the save as type is Document Template (*.dot) and the default file name is Document.dot. i tried using the command...
  5. babysophia

    How to rename a document name in macro using MS Word 2002?

    Can you give me steps on how to create a new macro? Can you give me the syntax on how to use SAVE AS? Thanks!
  6. babysophia

    Passing value from VB6.0 to Marco in Microsoft Word 2002

    Hi guys! Thanks for replying. I already solved my problem in passing value from VB to Macro. My another problem now is to rename the document as Document1 when I open the .dot file. Here's my code below in VB and Macro: ---VB 6.0--- I've placed this code in one of the modules in VB: Function...
  7. babysophia

    How to run macro when call in visual basic?

    Hi guys! Thanks for replying. I already solved my problem. My another problem now is to rename the document as Document1 when I open the .dot file. Here's my code below in VB and Macro: ---VB 6.0--- I've placed this code in one of the modules in VB: Function OpenReport() Dim wrdApp Set...
  8. babysophia

    How to rename a document name in macro using MS Word 2002?

    Thanks for replying. I actually have no idea in creating macro. Could you give me steps in creating Macro? This project when assigned to me already exists and I'm just modifying it. I just did some search in order for me to open the existing macro which is the .dot file. All I need to do now is...
  9. babysophia

    How to rename a document name in macro using MS Word 2002?

    Hi Everyone! I'm just new in Macro using MS Word 2002. I already have an existing macro. I called the macro from VB 6.0. The document I was calling is to open a .dot file. When it opened, I just want to rename it as Document1 instead of the .dot file I was opened. Please help me if this is...
  10. babysophia

    How to run macro when call in visual basic?

    What do you mean paste it in the body of the word? Can you provide me a syntax for that? I already done it but I'm having a problem with my code.
  11. babysophia

    Passing value from VB6.0 to Marco in Microsoft Word 2002

    Hi Everyone, I'm just new in macro using Microsoft Word 2002. I just want to know if it's possible to pass a value coming from VB6.0 to macro using Microsoft Word 2002? Please help me. Thanks.
  12. babysophia

    How to run macro when call in visual basic?

    O-oh!! I have a little problem out here again! I can't pass a parameter in which I saved my text file from my local. How can I pass a parameter to Macro? I should pass the value from Visual Basic to Macro to open what I created in my desktop. Is it possible? I should display the records from...
  13. babysophia

    How to run macro when call in visual basic?

    Hi ClulessChris, It's working now. Thank you very much!!!
  14. babysophia

    How to run macro when call in visual basic?

    Thanks for replying Cathy and ClulessChris! My Macro was in Word. I just want to open it automatically without clicking the run command in Microsoft Word 2002 when called in VB 6.0. =)
  15. babysophia

    How to run macro when call in visual basic?

    How can I set my macro to run on open, set it as document and open the file from template? Is it from the code? Here's my code in vb below: This will just open the document but needs to run the macro instead of automatically opening it. Private Sub Command3_Click() Set wrd = New...
  16. babysophia

    How to run macro when call in visual basic?

    Thanks for replying. I'm new to macro and I'm having a problem opening it. Here's my code below and the error I'm getting is "Main() Error -2147352573 - Unable to run the specified macro". Tell me if it's right. Thanks. Application.Run MacroName:="Fumiguide Report.AutoNew.Main" I inserted...
  17. babysophia

    How to run macro when call in visual basic?

    Hi Everyone, Does anyone knows how to call/run macro using visual basic 6.0? I have an existing document with macro on it. I've tried to make a new project in visual basic 6.0. I've created new button in the form. If I click that button, it should automatically call the document and should...

Part and Inventory Search

Back
Top