Its very hard to explain so I think that is why im confusing people.
The userform will input the data and data only in two place how it works now. Problem with this is if I edit the main location range 7-190 I have to edit the second location to match. I need the second area as it performs the calculations. This second area is after row 202
So for example if the next available area for the userform to input data is row 7 than (txtPointsReceived) is input into D7 so would have a value of say 97
Now around row 200 there are 5 columns all with a header that match the assignment type picked in the userform. The (txtPointsReceived) get put into the corresponding column.
I want to change that part instead of it adding a value say 97 I want it to install in this example =IF(D7<"",D7,"") the D7 is the part I am having an issue with I cant get the script to echo the cell that the first value was put in.
This line is the one I am having an issue with. If try to input the formula here I get errors. I found if I put "=" & Chr(68) & NextRw it works but that is an example D7 so in order to get the rest of the formula to work with no vba error I had to use a ton of Chr for the parenthesis and commas letters etc.
' *********************************************************************
' Data input for active gradebook weighted key
' *********************************************************************
Below this are the rows 200+ the Key I call it which the problem area. In your sample you edited the area above it.
In a nut shell I would like this line of code to go from this
To something like this
No clue what to put for the ?????
If I try something like
I get "Run-Time Error 1004: Application-defined or object-defined error" with
without the parenthesis I get a run time error 13 type mismatch
Bookmarks