Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Format + Data

{='c:\mywb.xls'!myRange} reads the area myRange into the
current worksheet when entered as an array formula in an
identical area. However, this does not retrieve the format
of the cells from c:\mywd.xls.

Is there a way of getting the data with the format?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Format + Data


"AA" wrote in message
...
{='c:\mywb.xls'!myRange} reads the area myRange into the
current worksheet when entered as an array formula in an
identical area. However, this does not retrieve the format
of the cells from c:\mywd.xls.

Is there a way of getting the data with the format?


You can do it in VBA code, using pastespecial and xlPasteFormats. I don't
think it is possible to it as a worksheet function




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Format + Data

Thnak you. I am using VBA as you suggest; however, it is
very slow. I need to speed up the code.

-----Original Message-----

"AA" wrote in

message
...
{='c:\mywb.xls'!myRange} reads the area myRange into the
current worksheet when entered as an array formula in an
identical area. However, this does not retrieve the

format
of the cells from c:\mywd.xls.

Is there a way of getting the data with the format?


You can do it in VBA code, using pastespecial and

xlPasteFormats. I don't
think it is possible to it as a worksheet function




.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Format + Data


"AA" wrote in message
...
Thnak you. I am using VBA as you suggest; however, it is
very slow. I need to speed up the code.


Do you want to post your code here?




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 135
Default Format + Data

You should be able to get any or all of the individual pieces of the cell's
format with code like:

Sub Tester()
Cells(2, 1).Interior.ColorIndex = _
Cells(1, 1).Interior.ColorIndex
End Sub

This will probably run a lot faster than the copy/paste method, even if you
are getting all the format properties.

HTH,
Shockley

"AA" wrote in message
...
Thnak you. I am using VBA as you suggest; however, it is
very slow. I need to speed up the code.

-----Original Message-----

"AA" wrote in

message
...
{='c:\mywb.xls'!myRange} reads the area myRange into the
current worksheet when entered as an array formula in an
identical area. However, this does not retrieve the

format
of the cells from c:\mywd.xls.

Is there a way of getting the data with the format?


You can do it in VBA code, using pastespecial and

xlPasteFormats. I don't
think it is possible to it as a worksheet function




.



Reply
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
Lock Cell Format - Allow copy and paste of data without format change Chris12InKC Excel Worksheet Functions 2 May 9th 23 07:42 PM
extracting data from one format to a different format... Majestic Glory Excel Discussion (Misc queries) 2 May 30th 10 03:47 AM
Increase Your Business By Data Conversion, Data Format and Data EntryServices in India Data Entry India Excel Worksheet Functions 1 March 31st 08 12:51 PM
Data Entry Online, Data Format, Data Conversion and Data EntryServices through Data Entry Outsourcing [email protected] Excel Discussion (Misc queries) 0 March 20th 08 12:45 PM
External Data Queries - Data Range Properties v Spreadsheet Format HLS Excel Discussion (Misc queries) 0 April 5th 06 11:09 AM


All times are GMT +1. The time now is 07:58 AM.

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

About Us

"It's about Microsoft Excel"