in
All Tags » VBA » word (RSS)

Browse by Tags

  • Email .doc file from MS Access

    Hi, I've tried to use SendObj() to send word documents (.doc) to my Lotus Notes client without success because SendObj() can only send other type file (xls, txt, rtf). My users will be sending .doc type files using lotus notes client but all info such as email address, header, attached document ...
    Posted to Access Coding/Macros (Forum) by microsoft on 05-22-2010
  • How do I use PSKill on a Terminal Server and only kill the instance for a logged on user?

    App is MS Access, Word, Office 2003 using automation and the new environment is running this on Windows Server 2008 via Terminal Services and there are many users using this and the problem is intermittent and not all users are affected. There are intermittent times the Word Object (via automation) is...
    Posted to Windows (Forum) by microsoft on 05-18-2010
  • Saving settings on the vba forms

    Dear all, In many cases, I have to do some settings (e.g. text size, starting number) in the form before execution the programme. However, that would be very tiring if I need to redo the same setting wheneven I restart the form in different documents. Is it possible to save the setting in the memory...
    Posted to Microsoft Office (Forum) by microsoft on 05-09-2010
  • Changing Individual Lines of Text in a Table Cell

    I have a Word Table and I am trying to use VBA to change the text properties in a single cell. Specifically, I need to make the first line bold, and all of the following lines (and the total number of lines will vary) italicized. I know how to make these changes to all of the text in a cell. How do I...
    Posted to Miscellaneous (Forum) by microsoft on 05-08-2010
  • Word VBA - Inside a Table: how I can know if a WHOLE cell is selected?

    Hi all, I am using Word 2003 VBA. The current selection (made by the user) is inside a Table. How I can know if a cell (i.e., WHOLE cell, by Table|Cell|Select) has been selected or just all the text inside has been selected ? I need to know this since I want to add a new paragraph at the end of the selection...
    Posted to Miscellaneous (Forum) by microsoft on 05-08-2010
  • AS400 PCOMM Read / Write Issue in VBA

    In the VBA of Word 2003 Standard Edition I can create a PCOMM object utilizing the AS400 autECLPS class (PCOMM.autECLPS) that will allow Word to read and write data to the AS400 user interface; however in the VBA of Word 2002 Standard Edition and Word 2003 Professional Edition I can only read data from...
    Posted to System Programming (Forum) by microsoft on 04-30-2010
  • MS Word VBA - Increment Filename

    Hi, I have a form that automatically (1) increments the form number (2) saves the file with the same number. The script uses a text file to keep track of the number. The only problem is, if the user does not save the file, the number is still incremented, thus the next file that is saved uses the new...
    Posted to Miscellaneous (Forum) by microsoft on 04-29-2010
  • PCOMM Not Working In VBA All The Time

    The following VBA code uses the sendkeys method of a PCOMM class to send the text "123" to the AS400 User Interface from Word 2003 Standard Edition, but it does not work in Word 2002 or Word 2003 Professional Edition. If I remember correctly when I used early binding I got the error message...
    Posted to System Programming (Forum) by microsoft on 04-28-2010
  • VBA to detect a Word doc using a macro in normal.dot

    Hi I have a tool built in Access that scans spreadsheets and Word for macros. Is working OK, except for the case of a Word Doc that has a macro that is stored in normal.dot. Is their any detectable flag/object (using VBA) that would indicate this? Kelvin
    Posted to Visual Interdev (Forum) by microsoft on 04-17-2010
  • VBA: select WHOLE document (i.e. the not the current textbox!)

    I am using the following code to try to copy the current document to a new document (for further processing): Selection.WholeStory Selection.Copy Documents.Add Template:="Normal", NewTemplate:=False, DocumentType:=0 Selection.PasteAndFormat (wdPasteDefault) ActiveDocument.SaveAs FileName:=sTemp...
    Posted to Word (Forum) by microsoft on 03-24-2010
Page 1 of 10 (92 items) 1 2 3 4 5 Next > ... Last ยป