Can someone help with this Martlett code?
In Excel, this code works, but in Zoho, nothing happens when cells A3 through A100 is clicked.
- Private Sub Worksheet_SelectionChange(ByVal Target As Range)
- If Target.Cells.Count > 1 Then Exit Sub
- If Not Intersect(Target, Range("A3:A100")) Is Nothing Then
- Target.Font.Name = "Marlett"
- If Target = vbNullString Then
- Target = "a"
- Else
- Target = vbNullString
- End If
- End If
- End Sub
What it should do (and does in Excel) is put an "a" in the cell (column a) when it's selected, and the font should be Martlett so that it appears to be a checkmark. By doing so, I will be able to sort the spreadsheet so that checked rows will be dropped to the bottom of the list.
Here's what the spreadsheet looks like (in Excel with cells A4 & A6 clicked on)...
The spreadsheet is exactly the same in Zoho. But the code doesn't do anything. Is there an adjustment needed to be made in Zoho to get it to work?
To explain what I'm trying to do...I want this to be a shared file that users can choose a business that they plan to hire by selecting it by clicking in column A. Once that's done, I will write a sorting code that will move any selected rows (based on column a's cells holding "a" = Martlett font check mark) to the bottom of the list so that the next user will open the file, and choose their vendors from the top of the list down. (Ensuring that a business that was recently selected would be less likely to be chosen again before those above it.)
I'm also willing to accept other solutions that will accomplish the same scenario I explained above.
Thanks in advance!
Sticky Posts
Slicers are now available in Zoho Sheet—filter your data interactively
At Zoho Sheet, we diligently track user requests and feedback. In line with this, based on extensive user requests, we've integrated Slicers to pivot tables and are delighted to announce its release. Slicers are interactive visual filters that have add,
Check out the new Checkbox in Zoho Sheet
Checkbox, the simple GUI widget that lets you choose between two mutually exclusive options i.e Yes or No, is now in Zoho Sheet. Having made it across the web, Checkbox is familiar but is still elusive to most spreadsheet software. Special developer ribbons, macros and all other complexities to add a checkbox to a spreadsheet? Not in Zoho Sheet. How to add Checkbox to Zoho Sheet? Adding a Checkbox in Zoho Sheet is simple. Select a cell/range and choose "Checkbox" in "Input Controls" under the Format
Format and analyze spreadsheet data with Zoho Sheet's Table
While a spreadsheet helps you compile data for easy analysis, formatting helps make your data more comprehensible. We are happy to announce the release of Table, a crucial tool for improving data formatting in Zoho Sheet. More than a formatting tool,
Introducing Data Bars: Graphically represent changes in data within the cells
Conditional formatting has helped millions of spreadsheet users analyze and highlight their data more efficiently. In addition to the classic rules, color scales, and icon sets available in Zoho Sheet, you can now apply Data Bars, a convenient method
Zia in Zoho Sheet now makes suggestions on conditional formats, picklists, and checkboxes
Zia, Zoho's popular AI assistant, has been helping users succeed across Zoho applications since inception. In Zoho Sheet, Zia helps users efficiently build reports and analyze data with recommendations about data cleaning, charts, and pivot table. Also,