+ Reply to Thread
Results 1 to 10 of 10

UDF, Dropdown select and Worksheet_Change VBA Problem

  1. #1
    Registered User
    Join Date
    04-17-2014
    Location
    DUbai
    MS-Off Ver
    Excel 2007
    Posts
    63

    UDF, Dropdown select and Worksheet_Change VBA Problem

    Dear Sir

    I have Data Validation in B3. and also I have User define Function. for Column Number to Column alphabet.

    Please Login or Register  to view this content.
    and for UDF

    Please Login or Register  to view this content.
    my Problem is If I use this UDF in any range. Dorp Down Select change dose not trigger VBA. its can trigger by only Typing.

    is there any solution. here I attached sample file.
    Attached Files Attached Files

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: UDF, Dropdown select and Worksheet_Change VBA Problem

    If I use the UDF the dropdown still triggers the change event.

    Where exactly are you using it?
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    04-17-2014
    Location
    DUbai
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: UDF, Dropdown select and Worksheet_Change VBA Problem

    Dear

    here I attached my Original project fill.. just look in to "form" sheet G2 i am using drop down.

    same as I used in test file.

    but in my laptop in test file also not triggering. if I change by selecting from drop down. yes. it can trigger if I type manually from key board.

    if you say it is working there. then I am confuse that is it problem with excel 2007 or its a problem with my laptop.
    Attached Files Attached Files

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: UDF, Dropdown select and Worksheet_Change VBA Problem

    Where are you using the UDF?

  5. #5
    Registered User
    Join Date
    04-17-2014
    Location
    DUbai
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: UDF, Dropdown select and Worksheet_Change VBA Problem

    actually I am using UDF in many sheet. in current sheet u can look in K3 range there is I use UDF. i think u need protract password. "kamath"

  6. #6
    Registered User
    Join Date
    04-17-2014
    Location
    DUbai
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: UDF, Dropdown select and Worksheet_Change VBA Problem

    can you can in test file which I upload first. is it really triggering after change value by selecting drop down. ( not by typing ). and also in some cell use UDF. if its working there then I need to check with another laptop

  7. #7
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: UDF, Dropdown select and Worksheet_Change VBA Problem

    I can't find the UDF being used in any workbook.

    I can only find it in the code and I'm pretty sure you could change the code to use Cells so it's not needed.

    For example this,
    Please Login or Register  to view this content.
    could probably be written something like this.
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    04-17-2014
    Location
    DUbai
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: UDF, Dropdown select and Worksheet_Change VBA Problem

    I have many UDF in my project. which I can not convert in Excel formula.

    I am surprising. you did not find UDF in any workbook. in a test work book I clearly insert with cell comments. you can check if you use " = CtoL(3) " in any cell. then after drop down select is not triggering.

  9. #9
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: UDF, Dropdown select and Worksheet_Change VBA Problem

    I searched both workbooks you uploaded and couldn't find the UDF CtoL on any worksheet.

    I also tried adding some examples of the UDF in various cells on various worksheets.

    Nothing stopped the dropdown triggering the change event.

  10. #10
    Registered User
    Join Date
    04-17-2014
    Location
    DUbai
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: UDF, Dropdown select and Worksheet_Change VBA Problem

    may be some problem with my laptop. I need to check using with another laptop.

+ 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. Problem in Worksheet_Change
    By gan_xl in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-15-2013, 12:09 PM
  2. Macro to select Validation List & allowing Worksheet_change to operate
    By jordan2322 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-17-2012, 08:44 PM
  3. WorkSheet_Change problem
    By Rick_Stanich in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-14-2008, 02:35 PM
  4. worksheet_change and dropdown data validation
    By embirath in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-10-2006, 12:11 AM
  5. Problem with Data Validation Dropdown List / Worksheet_Change Event
    By wla6h@yahoo.com in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-09-2006, 05:29 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