Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 173
Default export value-copy to Mac excel


Have a six-sheet dynamic file that needs to be turned into a static report
each day.
Normally no problem --- file save as whatever / select all sheets / select
all cells / copy / paste values.

But there are pc Excel 2007 tables in the file, graphs, and live query links
to Access.

When I email the file, anyone with Mac Excel loses calc cells in the tables
[they become #value#], which then knocks out the graphs/etc.

Need a sub-routine that will first convert all tables in the file to ranges,
then value-copy everything.

Can anyone assist?
Thanx in advance.

- Mike
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default export value-copy to Mac excel

You could do something like this to convert all tables to ranges on all
worksheets. It appears that the calculations are converted as well.

Sub FindTables()
Dim myListObj As Excel.ListObject

Dim WS As Excel.Worksheet

For Each WS In ThisWorkbook.Worksheets
Debug.Print WS.Name
For Each myListObj In WS.ListObjects
Debug.Print myListObj.Name
myListObj.Unlist
Next myListObj
Next WS
End Sub


"MikeF" wrote:


Have a six-sheet dynamic file that needs to be turned into a static report
each day.
Normally no problem --- file save as whatever / select all sheets / select
all cells / copy / paste values.

But there are pc Excel 2007 tables in the file, graphs, and live query links
to Access.

When I email the file, anyone with Mac Excel loses calc cells in the tables
[they become #value#], which then knocks out the graphs/etc.

Need a sub-routine that will first convert all tables in the file to ranges,
then value-copy everything.

Can anyone assist?
Thanx in advance.

- Mike

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 173
Default export value-copy to Mac excel

Barb,
Works great, thank you.
- Mike

"Barb Reinhardt" wrote:

You could do something like this to convert all tables to ranges on all
worksheets. It appears that the calculations are converted as well.

Sub FindTables()
Dim myListObj As Excel.ListObject

Dim WS As Excel.Worksheet

For Each WS In ThisWorkbook.Worksheets
Debug.Print WS.Name
For Each myListObj In WS.ListObjects
Debug.Print myListObj.Name
myListObj.Unlist
Next myListObj
Next WS
End Sub


"MikeF" wrote:


Have a six-sheet dynamic file that needs to be turned into a static report
each day.
Normally no problem --- file save as whatever / select all sheets / select
all cells / copy / paste values.

But there are pc Excel 2007 tables in the file, graphs, and live query links
to Access.

When I email the file, anyone with Mac Excel loses calc cells in the tables
[they become #value#], which then knocks out the graphs/etc.

Need a sub-routine that will first convert all tables in the file to ranges,
then value-copy everything.

Can anyone assist?
Thanx in advance.

- Mike

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
Export Excel tuncating leading zeros while export to excel from da RHBKV Setting up and Configuration of Excel 1 July 15th 09 01:48 PM
How to: Export from Word to Excel (beyond Copy and Paste) Swish7 Excel Discussion (Misc queries) 0 November 1st 07 08:52 PM
Copy/Export/Transfer charts from Excel to power point with VBA cod Koulla Excel Programming 1 October 30th 06 10:35 AM
export/copy excel cells to Word Salim Excel Discussion (Misc queries) 1 April 23rd 06 08:09 AM
Export/Import + Copy issues John Keith[_2_] Excel Programming 0 October 21st 05 03:25 PM


All times are GMT +1. The time now is 01:47 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"