Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a macro that will copy cells from excel to word, but when it copies
the cells that i have no formating borders in excel will show a border in word. How do I make it so that word will not show the invisible borders? Here is my code: Set rng1 = rng.SpecialCells(xlCellTypeVisible) rng1.Select Selection.Copy 'Copy to clipboard Dim WDApp As Object Dim WDDoc As Object Dim myDocName As String myDocName = "Survey Report.doc" Set WDApp = CreateObject("Word.Application") WDApp.Visible = True Set WDDoc = WDApp.documents.Open("F:\Survey Test\Word\Survey Report.doc") WDDoc.Selection.Paste |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy and paste into Excel and Word | Excel Discussion (Misc queries) | |||
COPY & PASTE WORD Doc into EXCEL | Excel Discussion (Misc queries) | |||
copy multiple worksheets of a workbook, and paste onto a Word document ( either create new doc file or paste onto an existing file.) I need this done by VBA, Excel Macro | Excel Programming | |||
macro to copy in Excel and paste in Word? | Excel Programming | |||
Copy/Paste From Excel To Word Macro | Excel Programming |