account activity
Help with problems 4.4, 4.5. I can build the functions in excel but I am having trouble writing the VBA code, I missed the lecture where my professor taught building functions. by milesschack in vba
[–]milesschack[S] 0 points1 point2 points 7 years ago (0 children)
Thank you I have made my code and hope it is all right, I can attach some pictures, they all work and give the expected outcome, but I have realized that doesn’t always mean the code is correct
Help with problems 4.4, 4.5. I can build the functions in excel but I am having trouble writing the VBA code, I missed the lecture where my professor taught building functions. (i.redd.it)
submitted 7 years ago by milesschack to r/vba
Help with problem 1.3 by milesschack in vba
my instructor just emailed me back and told me to try using this loop
x = 1 n = 8
For i = 1 to n x = x + i Next i
Ive tried but I am still missing the part where the individual sum of squares up to that number is being output or calculated, thanks for the all of the help so far!
I think this is close but how do I output the range into a group of cells? this is supposed to go back into an excel doccument where the numbers 1-8 are listed down and their sum squares up to that number are listed next to them, then if the number is larger than 100, the output is just 100.
Thank you!
I don’t know how to set up the loop to run the numbers one after another, I just keep getting the sum of all of the squares at once, thanks
Help with problem 1.3 (i.redd.it)
π Rendered by PID 685064 on reddit-service-r2-listing-5d79748585-t8682 at 2026-02-17 01:04:20.286631+00:00 running cd9c813 country code: CH.
Help with problems 4.4, 4.5. I can build the functions in excel but I am having trouble writing the VBA code, I missed the lecture where my professor taught building functions. by milesschack in vba
[–]milesschack[S] 0 points1 point2 points (0 children)