I have assigned a range name to the current range in VBA. How do I check that the range has been assigned correctly?
Thank you
I have assigned a range name to the current range in VBA. How do I check that the range has been assigned correctly?
Thank you
The named range will be in the name dropdownPlease Login or Register to view this content.
2021-02-14_9-11-10.jpg
The name doesn't appear in the dropdown but I just added a couple of lines:
Set rngPayRange = Selection
rngPayRange.Select
Then I was able to see the highlighted range which confirmed the macro worked OK!
Thanks
That is not naming a range, you are setting a range variable.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks