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 sizbut 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. GeoffreyBernardo

    MS Word - Filename argument of SaveAs Method of ActiveDocument

    Problemo Solvedo! Guys, you were right all along. It is because of an illegal character. I stepped through the procedure and after this step: NewFileName = ActiveDocument.Shapes("Text Box 2").TextFrame.TextRange.Text I hovered the mouse cursor over NewFileName and noticed a little square...
  2. GeoffreyBernardo

    MS Word - Filename argument of SaveAs Method of ActiveDocument

    Hi mintjulep, If I type in a string literal for the "FileName"-argumanet of the SaveAs method, it does save, even though the document is open.
  3. GeoffreyBernardo

    MS Word - Filename argument of SaveAs Method of ActiveDocument

    I also posted this question here: http://www.vbaexpress.com/forum/showthread.php?p=164420#post164420 http://www.xtremevbtalk.com/showthread.php?t=301722
  4. GeoffreyBernardo

    selecting Excel worksheet with a variable

    Dim myYear As Integer For myYear = 2001 To 2008 Step 1 Sheets(CStr(myYear)).Select ' Other code goes here Next myYear
  5. GeoffreyBernardo

    MS Word - Filename argument of SaveAs Method of ActiveDocument

    Hallo Guys, In Word, I want to take the text in a textbox in the active document and use it as the filename for the active document by using the SaveAs method. Here is the code: Sub Rename_ActiveDocument() Dim NewFileName As String NewFileName = ActiveDocument.Shapes("Text Box...
  6. GeoffreyBernardo

    Spreadsheet functions, Add-ins and autocomplete lists

    Hallo Guys, In Excel 2007, I have made a custom spreadsheet function. When I start typing the function in a cell on a sheet, a list of functions that start with the same letters appears and then I can select my custom function from the list. This makes entering the function much faster...

Part and Inventory Search

Back
Top