↓ Skip to Main Content
Useful code Programming with VBA, C# and Python

Main Navigation

  • All
  • VBA
    • VBA Tools
    • VBA Online Resources
    • All VBA articles
  • Python
  • Else
    • C#
  • Reviews
    • List of reviews
  • YouTube
  • PayPal
  • About
Useful code Programming with VBA, C# and Python

Off Canvas Menu

  • All
  • VBA
    • VBA Tools
    • VBA Online Resources
    • All VBA articles
  • Python
  • Else
    • C#
  • Reviews
    • List of reviews
  • YouTube
  • PayPal
  • About

Tag: why byref byval

Home › Posts tagged why byref byval
VBA – How to refer a function ByVal, when the parameter is explicitly ByRef
VBA \ Excel

VBA – How to refer a function ByVal, when the parameter is explicitly ByRef

Vitosh Jan 9, 2018 Tagged with by ref, by val, VBA, why byref byval

Ok, you have read the title correctly – there is a way to refer a parameter ByValue, even though the parameter contains explicitly the word ByRef in it. Let’s start with the functions. Imagine a function, getting an array as parameter …

VBA – How to refer a function ByVal, when the parameter is explicitly ByRef Read more →

Copyright © 2026 VitoshAcademy