Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 months ago.
Improve this question
I am trying to add two values from two cells , A & B and then update that in B. Basically, it is B=A+B. Is it possible in Excel? Using VBA?
Trying using like this
Sub Add()
Range("C9").Value = Range("C9").Value + Range("D9").Value
End Sub
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 months ago.
Improve this question
I have a list of jira links having a format of “https://jira.com/browse/ADCS-262” where the bold part gets changed.
Is there a way to convert all these links to ADCS-262 format perserving the links
You can use HYPERLINK function into spreadsheet.
Sample
=HYPERLINK("https://jira.com/browse/ADCS-262","ADCS-262")
Next actions:
get last part of link
=RIGHT(A2,LEN(A2)-SEARCH("#",SUBSTITUTE(A2,"/","#",LEN(A2)-LEN(SUBSTITUTE(A2,"/","")))))
and combine both functions
a2 = https://jira.com/browse/ADCS-262
f2 = =RIGHT(A2,LEN(A2)-SEARCH("#",SUBSTITUTE(A2,"/","#",LEN(A2)-LEN(SUBSTITUTE(A2,"/","")))))
g2 = =HYPERLINK(A2,F2)
Happy coding!
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 6 months ago.
Improve this question
I am trying to add Data Validation in an Excel Cell using VBScript but I can't figure the correct syntax. I can do it in VBA, it is not a problem, but I need to do it in VBScript.
I just need to Add Validation with Values: "Yes", "No" into the cell.
Relevant code:
Dim xlValidateList
xlValidateList = 3
For s = 2 to sheetCount
For r = 2 to sourceTotalRows
xlBookSource.Sheets(s).Cells(r,23).Validation.Add xlValidateList, "Yes,No"
Next
Next
Assuming the smart quotes are a typo, you have the formula as the wrong argument:
xlBookSource.Sheets(s).Cells(r,23).Validation.Add xlValidateList, , , "Yes,No"
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I have nearly 800 cells(A1:A800) in my main sheet. Each cell should copy to different sheet with an order. First cell in main sheet('main'!A1) copy to first sheet('1'!A1) , second cell('main'!A2) copy to second sheet('2'!A1) etc.I created 800 sheets already. I don't know VBA very well. I couldn't find any code that fits my problem. Thanks for help!
If I am seeing what you are trying to do, it shouldn't be too hard.
You could hardcode a for loop to 800.
for i = 2 to 800
Range("A"&i).Copy Destination:=Sheets(i).Range("A" & i)
next
This is similar albeit a bit more involved
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
enter image description here[vlookup]
Erradic/inconsistent behavior with vlookup function in MS Excel.
The search list is in yellow, search result is in green.
Please refer to the captured image.
Help would be much appreciated.
Nothing is wrong with vlookup.
Vlookup will look in the first column for what you want, in this case it looks in column A for “round” and returns n/a which is perfectly correct.
You could 4 vlookups to deal with this or you can try index and match ...
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
I need to create a sequence here the next should be A100100101000002 and so on
I try many ways, I am not experienced with Excel any help is highly appreciated. Thank all
Put this in A1,
=text(row(1:1), "\A\1\0\0\1\0\0\1\0\1000000")
Fill down. That should be good up to row 999,999.