Results 1 to 3 of 3

Thread: New To VBA...Pls Help

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2000
    Posts
    217

    New To VBA...Pls Help

    Hello, I am wanting to sent the appointment item to a folder if the user has checked a check box. Could someone pls give me an example.

    Code:
    Function Item_Write()
        If chkPublish.Value = True Then
            ' Not sure what goest here...
        End If
    End Function
    Thanks

  2. #2
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697
    Is this what you're after?

    Code:
    FileCopy "C:\FileName.txt", App.Path & "\FileName.txt"
    MsgBox "File Copied"

  3. #3
    Fanatic Member Matt_T_hat's Avatar
    Join Date
    Dec 2001
    Location
    '76 Male Body Evil-Errors: 666
    Posts
    774

    Re: New To VBA...Pls Help

    Originally posted by mpSmooth
    Hello, I am wanting to sent the appointment item to a folder if the user has checked a check box. Could someone pls give me an example.

    VB Code:
    1. Function Item_Write()
    2.     If chkPublish.Value = True Then
    3.         ' Not sure what goest here...
    4.     End If
    5. End Function
    • Is This Access or Excel?
    • Would a Public Sub WriteIt() be better or do you need to pass a message back?
    • What are you useing to track the different (records?) things...??
    Last edited by Matt_T_hat; Aug 5th, 2003 at 07:16 AM.
    ?
    'What's this bit for anyway?
    For Jono

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width