I'm using VBA in Excel to enter a formula in a specific cell within a table, but don't want the entire column to get this formula.
When doing it manually, Excel gives me the option to 'Undo Calculated Column', but not when it's done through code.
My code is as follows:
Dim url As String
url="https://example.com/myurl"
ThisWorkbook.Worksheets("PO Info").Range("E3").FormulaR1C1 = "=Hyperlink(""" & url & """,""Supplier Portal"")"
Any help would be greatly appreciated.
尝试:
Application.AutoCorrect.AutoFillFormulasInLists = False
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.