+ Reply to Thread
Results 1 to 2 of 2

Calling Function from Module to Form got an error Variable not set

  1. #1
    Registered User
    Join Date
    06-12-2013
    Location
    philippines
    MS-Off Ver
    Excel 2003
    Posts
    17

    Calling Function from Module to Form got an error Variable not set

    just want to know what I missed with these. I'm calling sub from mainwindow

    in MainWindow Form


    Please Login or Register  to view this content.
    in Module


    Please Login or Register  to view this content.

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Calling Function from Module to Form got an error Variable not set

    Hi,

    It sounds like that is not actually the name of the form, or perhaps the form is in a different workbook.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Calling a Module From Another Module (Error 1004)
    By js0873 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 07-17-2017, 12:19 PM
  2. Getting an error when calling multiple subs from a single module
    By Blackhawks in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-30-2016, 02:37 AM
  3. Excel VBA - calling a function located in a worksheet code module
    By TheRobsterUK in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-21-2015, 08:27 AM
  4. [SOLVED] Calling a function without assigning it to a variable cause an error.
    By gvag in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-28-2013, 05:20 AM
  5. [SOLVED] pass variable for user form module to function
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-10-2012, 10:10 PM
  6. Variable accross form to module
    By TonyforVBA in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-13-2010, 11:16 AM
  7. Error calling a procedure not in a module
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-14-2009, 03:03 AM

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