+ Reply to Thread
Results 1 to 2 of 2

Pass date variable to another procedure/module

  1. #1
    Valued Forum Contributor
    Join Date
    11-20-2003
    MS-Off Ver
    2010, 2016
    Posts
    1,173

    Pass date variable to another procedure/module

    I'm trying to pass a variable declared as a date to another module. When the code executes in the other module the value for the date variable is no longer there. I'm also passing a variable declared as long. The variable declared as long is retaining the value. Any reason why the date variable would not retain a value and the long variable would? Thanks
    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor
    Join Date
    11-20-2003
    MS-Off Ver
    2010, 2016
    Posts
    1,173

    Re: Pass date variable to another procedure/module

    Figured it out. I had myDateStart declared twice...once as a Pubic and again as Dim. I removed the Dim declaration and now it works.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1