Click here to Skip to main content
15,886,724 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Tool to replace tabs with --- variable number of spaces --- and preserving width? Pin
arnold_w3-Oct-19 1:52
arnold_w3-Oct-19 1:52 
AnswerRe: Tool to replace tabs with VARIABLE NUMBER OF SPACES and preserve column alignment? Pin
Richard MacCutchan3-Oct-19 2:16
mveRichard MacCutchan3-Oct-19 2:16 
GeneralRe: Tool to replace tabs with VARIABLE NUMBER OF SPACES and preserve column alignment? Pin
phil.o3-Oct-19 2:29
professionalphil.o3-Oct-19 2:29 
GeneralRe: Tool to replace tabs with VARIABLE NUMBER OF SPACES and preserve column alignment? Pin
Richard MacCutchan3-Oct-19 2:37
mveRichard MacCutchan3-Oct-19 2:37 
GeneralRe: Tool to replace tabs with VARIABLE NUMBER OF SPACES and preserve column alignment? Pin
phil.o3-Oct-19 2:46
professionalphil.o3-Oct-19 2:46 
GeneralRe: Tool to replace tabs with VARIABLE NUMBER OF SPACES and preserve column alignment? Pin
Richard MacCutchan3-Oct-19 2:53
mveRichard MacCutchan3-Oct-19 2:53 
AnswerRe: Tool to replace tabs with VARIABLE NUMBER OF SPACES and preserve column alignment? Pin
phil.o3-Oct-19 2:27
professionalphil.o3-Oct-19 2:27 
AnswerRe: Tool to replace tabs with VARIABLE NUMBER OF SPACES and preserve column alignment? Pin
leon de boer3-Oct-19 6:38
leon de boer3-Oct-19 6:38 
It is impossible only excel knows how wide the original columns were, that is why it puts the delimiters in the text to mark the columns Smile | :)

So if you want the original column width in excel you need to get excel to put them in a cell so it gets exported with the data and you can then use it to reformat the layout.

I know for say cell A1 width the excel formula is =CELL("width", A1) which displays as a decimal number.
What exactly that number is I have no idea but you can try searching for it or just play with a few letters and font heights and you should be able to work it out.
In vino veritas

GeneralRe: Tool to replace tabs with VARIABLE NUMBER OF SPACES and preserve column alignment? Pin
arnold_w3-Oct-19 6:41
arnold_w3-Oct-19 6:41 
GeneralRe: Tool to replace tabs with VARIABLE NUMBER OF SPACES and preserve column alignment? Pin
leon de boer4-Oct-19 3:52
leon de boer4-Oct-19 3:52 
GeneralRe: Tool to replace tabs with VARIABLE NUMBER OF SPACES and preserve column alignment? Pin
arnold_w4-Oct-19 5:44
arnold_w4-Oct-19 5:44 
AnswerRe: Tool to replace tabs with VARIABLE NUMBER OF SPACES and preserve column alignment? Pin
arnold_w3-Oct-19 7:37
arnold_w3-Oct-19 7:37 
QuestionError C2059 C2143 Pin
_Flaviu2-Oct-19 7:59
_Flaviu2-Oct-19 7:59 
AnswerRe: Error C2059 C2143 Pin
David Crow2-Oct-19 9:22
David Crow2-Oct-19 9:22 
AnswerRe: Error C2059 C2143 Pin
CPallini2-Oct-19 9:52
mveCPallini2-Oct-19 9:52 
AnswerRe: Error C2059 C2143 Pin
Richard MacCutchan2-Oct-19 21:45
mveRichard MacCutchan2-Oct-19 21:45 
QuestionDisplays the image in Picture Control. Pin
Member 126614642-Oct-19 7:07
Member 126614642-Oct-19 7:07 
AnswerRe: Displays the image in Picture Control. Pin
Gerry Schmitz2-Oct-19 7:19
mveGerry Schmitz2-Oct-19 7:19 
GeneralRe: Displays the image in Picture Control. Pin
Member 126614642-Oct-19 7:41
Member 126614642-Oct-19 7:41 
QuestionRe: Displays the image in Picture Control. Pin
David Crow2-Oct-19 9:19
David Crow2-Oct-19 9:19 
AnswerRe: Displays the image in Picture Control. Pin
Victor Nijegorodov2-Oct-19 9:41
Victor Nijegorodov2-Oct-19 9:41 
GeneralRe: Displays the image in Picture Control. Pin
Member 126614642-Oct-19 10:37
Member 126614642-Oct-19 10:37 
GeneralRe: Displays the image in Picture Control. Pin
Victor Nijegorodov2-Oct-19 10:49
Victor Nijegorodov2-Oct-19 10:49 
GeneralRe: Displays the image in Picture Control. Pin
Member 126614642-Oct-19 11:04
Member 126614642-Oct-19 11:04 
GeneralRe: Displays the image in Picture Control. Pin
Victor Nijegorodov2-Oct-19 19:46
Victor Nijegorodov2-Oct-19 19:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.