Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2008
    Posts
    3

    public instead of dim not working

    I'm trying to use public to declare a variable called 'NewStep' instead of dim. Here's the beginning of my code:
    Code:
    Option Compare Database
    Option Explicit
    Public Function CopyFilesFromR()
    Dim strYourDestination As String, strFiles As String, strPath As String, StepTotal As String
    Public NewStep As String
    and it's not working


    Compile error:
    Invalid attribute in Sub or Function
    Any suggestions?

    Other sites I've asked this question on:
    http://www.utteraccess.com/forums/sh...ost1728692&Zp=
    http://www.access-programmers.co.uk/...304#post764304

  2. #2
    Join Date
    Oct 2008
    Posts
    3
    Resolved on other links.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Working with Two Combo boxs
    By Della Smith in forum Database Design
    Replies: 2
    Last Post: 08-01-2008, 02:52 PM
  2. Replies: 1
    Last Post: 03-31-2008, 09:53 AM
  3. Import Wizard Not Working
    By cjh2001 in forum Import/Export Data
    Replies: 1
    Last Post: 01-24-2008, 06:33 PM
  4. calculated sum not working!
    By Linda Gamble in forum Access
    Replies: 1
    Last Post: 10-12-2007, 06:38 AM
  5. Replies: 1
    Last Post: 11-29-2005, 08:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums