{"id":3252,"date":"2021-04-22T09:44:44","date_gmt":"2021-04-22T16:44:44","guid":{"rendered":"https:\/\/SUMMALAI.COM\/?p=3252"},"modified":"2021-04-22T09:45:42","modified_gmt":"2021-04-22T16:45:42","slug":"make-a-specific-column-or-range-to-their-absolute-values-excel-vba","status":"publish","type":"post","link":"https:\/\/SUMMALAI.COM\/?p=3252","title":{"rendered":"Make a Specific Column or Range to Absolute Values (Excel VBA)"},"content":{"rendered":"\n<p>See below for a sample to change all value in Column I to M to their absolute Values<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Sheets(\"Trans\").Select\n    LastRow2 = Cells(Rows.Count, 1).End(xlUp).Row\nwith ActiveSheet\nSet rngToAbs = ActiveSheet.Range(\"I1:M\" &amp; LastRow2)\nrngToAbs.Replace what:=\"-\", lookat:=xlPart, replacement:=\"\"\nEnd With<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"687\" height=\"140\" src=\"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2021\/04\/image-1.png\" alt=\"\" class=\"wp-image-3253\" srcset=\"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2021\/04\/image-1.png 687w, https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2021\/04\/image-1-300x61.png 300w\" sizes=\"(max-width: 687px) 100vw, 687px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>See below for a sample to change all value in Column I to M to their absolute Values<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[10,18],"tags":[],"class_list":["post-3252","post","type-post","status-publish","format-standard","hentry","category-microsoft","category-microsoft-office"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/3252","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3252"}],"version-history":[{"count":2,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/3252\/revisions"}],"predecessor-version":[{"id":3264,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/3252\/revisions\/3264"}],"wp:attachment":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}