User Profile
JKPieterse
Silver Contributor
Joined 10 years ago
User Widgets
Recent Discussions
Re: Lost ability to create macros
chrishall166 Buttons in that dialog will be enabled if you type a macro name in the "Macro name" box (or choose one from the list if there are any). If the macro is available in any of the workbooks (or in the workbook you select in the drop-down), then the Edit and Run buttons are enabled. The Create button gets enabled as soon as you enter a valid macro name.22Views1like0CommentsRe: Complex Cell Format, Maybe!!!
If you are fine with a bit of VBA you can make this happen. Right-click the worksheet's tab and choose "View Code". Paste this code in the window that opens: Private Sub Worksheet_Change(ByVal Target As Range) If Target.Cells.Count = 1 Then TurnIntoSuperScript Target End If End Sub Next, from the menu, choose Insert, Module. Paste in this code: Sub TurnIntoSuperScript(cl As Range) Dim val As Variant Dim pos As Long val = cl.Value pos = InStr(val, "-") If pos > 0 Then With cl.Characters(Start:=1, Length:=pos - 1).Font .Superscript = False End With With cl.Characters(Start:=pos, Length:=Len(val) - pos + 1).Font .Superscript = True End With Else cl.Font.Subscript = False End If End Sub Now try entering a fraction into a cell on the worksheet.3Views0likes0CommentsRe: find where named range is used/referenced in entire workbook
Perhaps a belated reply, but my Name Manager contains a button to search for where a name has been used. It searches in all of the Excel objects VBA allows us to inspect, so it also picks up things like Data validation rules, conditional formatting and all sorts of other objects that expose formulas or references. https:\\jkp-ads.com\excel-name-manager.aspx There is even a version which also works on Web Excel.257Views0likes0CommentsRe: Reference error when using local names
I agree local names are useful, but I find it unusual that a name local to sheet1 is used in formulas on sheet2. Perhaps not if you're totaling different sheets. But then I'd argue having data spread across sheets isn't the best design for your data :-)126Views1like1CommentRe: Locking Tabs on a shared spreadsheet
Sounds like this is a navigation issue. Add a Table Of Contents worksheet (make it the first one in the workbook). Then at the top of every sheet add a link back to that ToC worksheet. To prevent adding worksheets, you can consider protecting the workbook (Review tab).53Views0likes0Comments
Recent Blog Articles
No content to show