Guys - I'm facing issues with "column width" when pasting from Excel to 
Word.
Briefly,

   - I have an Excel file comprising of several worksheets. Each worksheet 
   comprises of several tables (with specific column width and row heights).
   - Certain cells within these tables are merged while others are single 
   cells (not sure if this is relevant, just preempting a query).
   - This sheet helps to collect the data in an orderly manner at the 
   specified location (data is entered manually at the specified cells).
   - After all the data is gathered, I need to transfer (read copy-paste) 
   it to a word document as the submission needs to be in MS Word.
   - When I do that, I find that column widths for certain cells are not 
   maintained as they are in Excel - I observe both increase and decrease in 
   Column Width sizes.
   - However, the results are consistent. By that I mean, everytime I run 
   the macro, the same cells/or group of cells are affected.
   - I have tried using Word "Selection.PasteSpecial" from within Excel 
   with Link:= true and false both, Placement:=wdInLine DisplayAsIcon:=False, 
   Data:=wdPasteHTML
   - I have also tried using calling a function in the word document (Word 
   "Selection.PasteExcelTable" False False False) from within excel, but still 
   having the same issue with the same cells.

Is there a solution to ensure that the column widths remain exactly the 
same when pasting from Excel to Word?
Has cell padding got anything to do with it? I noticed that the Excel cells 
have "zero" padding, whereas the default indent in MS Word Tables is 
"0.19cm".

Any help or guidance would be appreciated.
Regards,

Jewel

PS: If a similar query has been posted before - kindly direct me to that 
post.

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.


Reply via email to