LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 244
Default Maintaining formatting - Excel = Word

Copy and paste will work as the clipboard takes what it sees (kind
of!), and you can even use copy and paste in the macro, but I would not
recommend it. I agree that it's the use of strings, but there is no
need to use strings

AppWd.bookmarks("Fred").range=range("A1").value

works just as well as storing the value of the cell in a variable first

BUT you don't actually need to use the value

AppWd.bookmarks("Fred").range=range("A1").text

would give you the formatted text

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MS Word like formatting in Excel bmac Excel Discussion (Misc queries) 0 May 4th 09 11:31 PM
Maintaining currency formatting in a Mail Merge? Martinson44 Excel Discussion (Misc queries) 2 September 15th 07 09:57 PM
how to keep excel formatting when merging to word? Kelzina Excel Discussion (Misc queries) 1 January 1st 07 09:14 AM
Maintaining Text Formatting in a Lookup loscherland Excel Discussion (Misc queries) 2 April 21st 06 04:26 PM
Maintaining column formatting when copying a row to another sheet based on a value Roger Tapp Excel Programming 3 January 30th 04 08:03 PM


All times are GMT +1. The time now is 05:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"