My greetings to all the experts,
I need to convert table and formula to VBA. I do not know much about VBA, I will not be able to explain properly but after seeing Excel you will understand.
My greetings to all the experts,
I need to convert table and formula to VBA. I do not know much about VBA, I will not be able to explain properly but after seeing Excel you will understand.
Last edited by jessica0007; 09-25-2020 at 05:17 AM.
The simplest way is to use the Macro recorder.
Start the recorder
select every cell in turn and select the formula bar and press enter.
Once you have done this for all cells stop the macro recorder
Then tidy up your recorded macro.
My General Rules if you want my help. Not aimed at any person in particular:
1. Please Make Requests not demands, none of us get paid here.
2. Check back on your post regularly. I will not return to a post after 4 days.
If it is not important to you then it definitely is not important to me.
Need to change the whole formula with VBA code, I already know that it is possible with small code like ex. Range("H3").Formula = "=
But I do not want that.
Last edited by jessica0007; 09-25-2020 at 05:16 AM.
Hi Jessica.
Your thread Title threw me.
Your title should have been something like: Convert Index/Match formula into a User Defined Function.
Administrative Note:
Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).
Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.
(Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
If you paste the following code into a macro module. then the formula =test(640,606) 0r =test(f3, g3) will return your value. [ I hope ].
Please Login or Register to view this content.
Last edited by mehmetcik; 09-25-2020 at 05:21 AM.
I'm impressed!! it works perfectly!
thank you very much!
mehmetcik,
I will focus on my thread title next time as well as I will request expert instead of Demand. Forgive me for my words.
thank you
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks