• WSgeofrichardson

    WSgeofrichardson

    @wsgeofrichardson

    Viewing 15 replies - 241 through 255 (of 262 total)
    Author
    Replies
    • in reply to: Use of FileSearch in VBA #524525

      Thanks for the tips folks
      Moving the Redim definitely tidied up the initial zero count.
      Setting FS to nothing cured a problem that I had forgotten about.
      I will set FileSearch to New each time.

      On tha Access front, I will assume the problem lies between the keyboard and the back of the chair for a while yet.
      Cheers
      G

    • in reply to: Excel sort list #1782508

      Hi Daniel
      Check out microsoft knowledge base:
      Article ID: Q155208

      http://support.microsoft.com/support/kb/ar…FR=0&qry=Custom Lists&rnk=1&src=DHCS_MSPSS_gn_SRCH&SPR=XLW97

      Cheers
      Geof

    • in reply to: bar tab #523566

      I think it is a hangover from the days before table borders and we had to generate column borders …
      You are obviously too young …
      Cheers

      G

    • in reply to: HP 4100 #523563

      Hi
      I dont think there are enough trees for the paperless office..
      I just adopt the notion that the s/ware over-rides the hardware settings. Word over-rides the Windows settings and windows over-rides the h/ware. Seems to work for me.
      However I haven’t used the 4100.
      Cheers
      G

    • in reply to: HP 4100 #523452

      Hi
      Dont you love printers ?
      I can only suggest that you check (again !!) the device settings from Control Panel > Printers or where-ever.

      I focused on the point that you made in yor post that you set up from the front panel of the printer.
      Maybe I am whistling in the dark ..
      Cheers
      G

    • in reply to: Random sort #523442

      Hi
      I am intrigued .. almost a contradiction of terms.
      In an adjacent column could you assign a random number and sort on this column …

      This could make use of the randbetween() function….
      =randbetween(x,y)

      I haven’t tried it but you would probably have to do an
      EDIT>PasteSpecial>ValuesOnly .. before you sorted on Col2 as the function will automatically recalc at sort time ..

      Cheers
      G

    • in reply to: Mail Merge #1782389

      Hi Bam
      The ‘ was not needed.
      I suspect because the linking data in the Where clause was numeric. I seem to remember something about “qualifying data” in SQL expressions and Access. ???
      I dont fuly understand but I have found on occasions when querying from Word textual data has needed ‘, numeric data nothing and on yet other occasions use of + has helped.
      It confuses me
      crazy

      Thanks for your help. You have put me onto an alternative solution which represents a big shortcut.
      cheers

      Geof

    • in reply to: Mail Merge #1782367

      Hi Folks
      Solved it ..

      Do not need the ‘ around the {mergefield FieldName}

      Thanks for clues

      Geof

    • in reply to: Mail Merge #1782365

      Hi Bam
      I am trying this approach with the datasource as MS Access 97.

      Things fall over with the Where clause inserted.
      Error reports Word unable to re-establish DDE connection.

      Database contains 2 related tables.

      Without the where clause the entire related table is successfully inserted into the doc so the syntax is fine til then I guess.

      Any thoughts !
      Thanks

      Geof

    • in reply to: removing/breaking a link #523302

      Hi Eddy
      Check tis website
      http://www.cpearson.com

      Cheers
      G

    • in reply to: Labels : Mail Merge #523283

      Hi
      You could try a search & replace with formatting in the “standard” label document.
      e.g
      <>
      could be replaced with <> formatted in Patatino, red, 36 pt font

      Just use the standard EDIT | Replace dialog box and note at bottom centre the format button

      Cheere
      G

    • in reply to: Defining a custom Menu with VBA #523238

      Thanks Mark
      That did the trick. Oh so simple…
      nuts

      Geof

    • in reply to: Place Field Codes #1782218

      Hi
      Is there a typo above

      Shouldnt it be Ctrl+F9 to enter the field braces

      Cheers
      G

    • in reply to: letterhead as linked header/footer #522889

      Hi Jody
      What a nightmare.

      Is there a way that you can interrogate the userinfo in the NT account database.

      The following extract was given to me by a colleague. I am not a programmer nor much of a network adminstrator. The two functions interrogate the AD on my 2000 Server and returns the userFirst Name. My idea is to populate bookmarks …. I have also used a similare technique in Novell using a routine supplied by Novell consulting…
      ———-
      Declare Function GetUserName Lib “advapi32.dll” Alias “GetUserNameA” (ByVal _
      lpBuffer As String, nSize As Long) As Long

      Sub whoAmI()
      Dim strName As String
      strName = ClipNull(GetUser())
      MsgBox (strName)
      End Sub

      Function GetUser() As String
      Dim lpUserID As String
      Dim nBuffer As Long
      Dim Ret As Long
      lpUserID = String(25, 0)
      nBuffer = 25
      Ret = GetUserName(lpUserID, nBuffer)

      If Ret Then
      GetUser$ = lpUserID$
      End If
      End Function

      Function ClipNull(InString As String) As String
      Dim intpos As Integer

      If Len(InString) Then
      intpos = InStr(InString, vbNullChar)

      If intpos > 0 Then
      ClipNull = Left(InString, intpos – 1)
      Else
      ClipNull = InString
      End If
      End If
      End Function
      —————-

      Perhaps the programming / NT gurus can help us further.

      Regards
      Geof

    • in reply to: Mailmerges and custom menus #1782129

      Greetings from NZ
      I got around a similar problem by placing a template that contained the special menu items and related scripts in the startup directory

      Regards
      Geof

    Viewing 15 replies - 241 through 255 (of 262 total)