+ Reply to Thread
Results 1 to 37 of 37

Iteration

Hybrid View

  1. #1
    Registered User
    Join Date
    10-09-2009
    Location
    Sacramento, California
    MS-Off Ver
    Excel 2003
    Posts
    25

    Re: Iteration issue

    Thank you so much for all your help with this....I guess I'm not versed enough in even basic vba to get the module placement right. I did a search and replace on one of the scripts that you put together replacing Switches with SWITCHES and the other SWITCHES1...added them to the VB code as Module1 and Module2. Now the cell registers as #NAME? I can't get it to work anymore... How can I make the scripts work for both scenerios?

    Thanks again,

    Anne

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Iteration issue

    You will need to post an example wherein you have placed your code - and where #NAME? errors are being generated...

    Note you can only have one function called SWITCHES else you will get an ambiguity error ie Switches and SWITCHES are one and the same as far as XL is concerned - this error will result in a #NAME? evaluation.

    If however the functions are stored in Modules in a macro-enabled VBA file you should find calling SWITCHES1 / SWITCHES should work without issue.

  3. #3
    Registered User
    Join Date
    10-09-2009
    Location
    Sacramento, California
    MS-Off Ver
    Excel 2003
    Posts
    25

    Re: Iteration issue

    Here's some screen shots of the trouble... Thank you!
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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