Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-16-2022, 07:54 AM
Ulodesk Ulodesk is offline Macro for setting decimal tabs in tables Windows 10 Macro for setting decimal tabs in tables Office 2016
Word 2013 Expert Cert
Macro for setting decimal tabs in tables
 
Join Date: Sep 2009
Location: Virginia
Posts: 872
Ulodesk is on a distinguished road
Default


Hi, Graham. Thank you for the info and update. I'm seeing an anomaly when running the new macro; perhaps I have misunderstood something.

I have provided an attachment with a 4-cell table, cells left-aligned, with spaces preceding the numbers. With my cursor in the top left cell, or with all cells' content selected, only the second row is affected.

Also, two other things:

The macro seems to indicate the creation of a decimal tab, but since I don't know VBA, perhaps that's my misreading. It doesn't create one in any case, perhaps due to the variable column-width issue being addressed.

And this, just my ignorance, out of curiosity I tried changing the 20 you used for right cell pad to 80, but it appeared to have no effect.

Again, I genuinely appreciate the top-level expertise I receive here. I don;t mean to take undue advantage of it with these questions.
Attached Files
File Type: docx Table example.docx (14.2 KB, 8 views)
Reply With Quote
Reply

Tags
decimal tab, table



Similar Threads
Thread Thread Starter Forum Replies Last Post
Decimal tabs with space as thousands separator harry Word 1 12-22-2023 02:59 PM
Macro for setting decimal tabs in tables Macro to delete tabs in Word Shelley Lou Word VBA 16 12-21-2020 06:34 AM
Macro for setting decimal tabs in tables I need a macro to format images and remove tabs. help LuisXVI Word VBA 4 11-12-2018 03:12 PM
Setting tabs relative to block of text kirkm Word 8 09-06-2016 07:54 PM
Pulling 2 digits before a decimal point from adjoining cell then zeros after decimal jadess916 Excel 1 06-26-2014 03:48 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:12 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft