Hi All ,
is it possible to specify the location as a variable .
i mean insated of (-5,2) to replace it with variable named (t,L )
Thanks In Advance
Code:found.Offset(-5, 2).Copy Destination:=dest_rng
Yes,
Code:t=-5 L=2 found.Offset(t, L).Copy Destination:=dest_rng
wow , i'm so lazy
If you are satisfied with the solution(s) provided, please mark your thread as Solved.
How to mark a thread Solved
Go to the first post
Click edit
Click Go Advanced
Just below the word Title you will see a dropdown with the word No prefix.
Change to Solved
Click Save
Please Read Forum Rules Before Posting
Wrap VBA code by selecting the code and clicking the # icon or Read This
How To Cross Post politely
Top Excel links for beginners to Experts
If you are pleased with a member's answer then use the Scales icon to rate it
If my reply has assistedor failed to assist you
I welcome your Feedback.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks