+ Reply to Thread
Results 1 to 4 of 4

Not clear why VBA not working

  1. #1
    Registered User
    Join Date
    05-15-2009
    Location
    Cambridge
    MS-Off Ver
    Excel 2003
    Posts
    23

    Not clear why VBA not working

    I have put the VBA below into a module in an excel table. When I exit editor, when I start typing =textjoin it recognises the formula but the when I type =TEXTJOIN(";",TRUE,KQ8:KS8) I get "#NAME?"

    Any idea why?

    Please Login or Register  to view this content.
    Last edited by alansidman; 12-09-2019 at 04:54 PM.

  2. #2
    Registered User
    Join Date
    05-15-2009
    Location
    Cambridge
    MS-Off Ver
    Excel 2003
    Posts
    23

    Re: Not clear why VBA not working

    Tried a slighlt different VBA:
    Please Login or Register  to view this content.
    Strangely both work in a new excel table, but not in the .xlsm which has many sheets and lots of data and formula. Anyone got any ideas?
    Last edited by alansidman; 12-09-2019 at 04:55 PM.

  3. #3
    Valued Forum Contributor
    Join Date
    09-30-2018
    Location
    Vlaams Brabant Belgium
    MS-Off Ver
    365
    Posts
    456

    Re: Not clear why VBA not working

    Hi,

    Please Login or Register  to view this content.
    Grtz
    Please be as complete as possible in your asking so it may save use all the time to rework the solution because you didn't give all the requirements. If you have a layout in mind please work it out first so we can adapt our solution to it. Thanks.
    If you have been helped, maybe you could click the *

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,897

    Re: Not clear why VBA not working

    Code Tags Added
    Your post does not comply with Rule 2 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. auto clear subroutine not working
    By sghstaples in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-14-2017, 11:40 AM
  2. [SOLVED] VBA Clear cell not working?
    By michelle 1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-01-2016, 07:43 AM
  3. On Close Clear ComboBox1 - ListIndex -1 and Clear not working
    By Janc in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-07-2015, 10:10 AM
  4. Clear function not working when copy to a new workbook
    By starlev in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-22-2014, 08:28 AM
  5. [SOLVED] clear combo boxes not working
    By superchew in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-06-2014, 09:45 AM
  6. [SOLVED] VBA Code to clear cells not working
    By nickhunt in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-08-2013, 01:33 PM
  7. Clear Contents Code not working
    By ChemistB in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-15-2009, 04:02 PM

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