Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10  
Old 08-12-2022, 07:05 PM
soroush.kalantari soroush.kalantari is offline Need help detecting the reason for a strange behavior of a UDF Windows 10 Need help detecting the reason for a strange behavior of a UDF Office 2016
Competent Performer
Need help detecting the reason for a strange behavior of a UDF
 
Join Date: Jun 2021
Posts: 124
soroush.kalantari is on a distinguished road
Default

Quote:
Originally Posted by Debaser View Post
Your issue is here:

Code:
vlookupUDF = Cells(nrow, ncollumn)
that will return the value from whichever sheet is active when the formula calculates. You should use interval.worksheet.cells(nrow, ncollumn)
Thank you very much. The issue was solved.
Reply With Quote
 

Tags
udf function



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help detecting the reason for a strange behavior of a UDF Strange behavior with Word macro Ulodesk Word 5 06-04-2022 12:40 AM
Need help detecting the reason for a strange behavior of a UDF Strange Behavior with a Graph in Word RP McIntosh Drawing and Graphics 6 07-01-2019 08:29 PM
strange search behavior cyraxote Word VBA 0 05-05-2017 03:00 PM
Need help detecting the reason for a strange behavior of a UDF Strange macro behavior in 2016 Ulodesk Word VBA 5 04-02-2017 03:34 PM
Need help detecting the reason for a strange behavior of a UDF Pasting - strange behavior SatControl Word 5 02-14-2010 12:57 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:53 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft