={SUM(Quantity*Price)} this formula can be done thru CTRL + SHFT+ ENTER
However, how should we code it using VBA Code? Thanks!
Closed
Closed
={SUM(Quantity*Price)} this formula can be done thru CTRL + SHFT+ ENTER
However, how should we code it using VBA Code? Thanks!
Maybe
![]()
Please Login or Register to view this content.
VBA Noob
_________________________________________
![]()
![]()
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
Converting Excel Array Formula to Excel VBA Coding
I have this formula with array after hitting CTRL+SHFT+ENTER
{=SUM(IF(BSmo!$F$7:$Q$7=BS!$A$5,IF(BSmo!$D$13:$D$101=BS!D13,BSmo!$F$13:$Q$101)))}
However when I tried converting to VBA Code it does not work..Could someone help me how do code this? And what is the coding for putting an array which in Excel we just hit CTRL+SHFT+ENTER
Welcome to the forum.
Do you want to use VB to put that formula in a cell?
Or do you want to write a VB routine that will return the same result as that formula?
I want to know both procedures..then eventually I will just use the easier procedure with the same result..Thanks!
Dear Rollet
Please Using Macro Recorder to Get the code
Tools --> Macro --> Recording Macro
Then Put the formula in cell
Tools --> Macro --> Stop Recording Macro
Press Alt+F8 Then click Edit button to see the code.
N. Yauvasuta
Power User Excel.
Why was this done as a Poll question
What you have asked is not a poll
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.
mudraker,
I did tell Rollet before about this and he also posted a similar thread.
Rollet,
Please read the forum rules below again. If you continue to ignore them the posts may be deleted or you may be banned.
VBA Noob
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks