https:\/\/mrexcel.retrieve.com\/store\/#\/<\/a><\/p>\nTable of Contents
\n(0:00) Difficult to choose most currencies
\n(2:19) The macro
\n(3:42) Adding to Quick Access Toolbar
\n(4:55) Testing in new workbook
\n(5:25) Adding Styles Gallery to QAT
\n(7:34) New Excel learning guides on Retrieve platform<\/p>\n
Here is the code from the Personal Macro Workbook for SAR:
\nSub ApplySARStyle()
\n ‘ Attempt to apply SAR style
\n ‘ If it does not exist, create it.
\n Err.Clear
\n On Error Resume Next
\n Selection.Style = “SAR”
\n If Err.Number = 0 Then
\n ‘ The style already exists. Okay to exit
\n On Error GoTo 0
\n Exit Sub
\n End If
\n ‘ If you get here, SAR does not exist.
\n ‘ Format the selection and create a new style
\n ActiveWorkbook.Styles.Add Name:=”SAR”
\n With ActiveWorkbook.Styles(“SAR”)
\n .IncludeNumber = True
\n .IncludeFont = False
\n .IncludeAlignment = False
\n .IncludeBorder = False
\n .IncludePatterns = False
\n .IncludeProtection = False
\n .NumberFormat = “[$SAR] #,##0”
\n End With
\n Selection.Style = “SAR”
\nEnd Sub<\/p>\n","protected":false},"excerpt":{"rendered":"
Today a question from someone who frequently uses three currency styles in Excel: USD, EGP, and SAR. Excel makes it easy to choose USD, GBP, EUR, CHF but if your currency is not in that drop-down, then you are scrolling<\/p>\n","protected":false},"author":3,"featured_media":3011,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[21,142,138],"tags":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/bonbonsguide.com\/wp\/wp-content\/uploads\/2021\/12\/rDnYQNO-fSY.jpg?fit=1280%2C720&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7QB1z-My","_links":{"self":[{"href":"https:\/\/bonbonsguide.com\/wp\/wp-json\/wp\/v2\/posts\/3010"}],"collection":[{"href":"https:\/\/bonbonsguide.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bonbonsguide.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bonbonsguide.com\/wp\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/bonbonsguide.com\/wp\/wp-json\/wp\/v2\/comments?post=3010"}],"version-history":[{"count":0,"href":"https:\/\/bonbonsguide.com\/wp\/wp-json\/wp\/v2\/posts\/3010\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bonbonsguide.com\/wp\/wp-json\/wp\/v2\/media\/3011"}],"wp:attachment":[{"href":"https:\/\/bonbonsguide.com\/wp\/wp-json\/wp\/v2\/media?parent=3010"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bonbonsguide.com\/wp\/wp-json\/wp\/v2\/categories?post=3010"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bonbonsguide.com\/wp\/wp-json\/wp\/v2\/tags?post=3010"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}