Solved

Formatting between Numbers and Excel

Posted on 2011-03-07
8
198 Views
Last Modified: 2012-05-11
I am working with a client on a solution for integrating an iPad into his daily business life.

He is a builder so needs to be mobile, and the size of the iPad is perfect. He works on an excel spreadsheet with a list of orders and would need to modify this spreadsheet on the run. I have been able to string together DropBox, WebDav, DropDav and Numbers into a solution to get the file from his PC to the iPad and back to the PC, but am facing what looks to be a formatting issue between Numbers and Excel.

So once he gets back into the office he logs onto his PC and needs to copy/paste data from Spreadsheet into a new spreadsheet. For some reason when he uses the Paste function the result is a red outlined cell with white text and a light grey shade (see attached).

If I Paste Values I get the intended results (also in screenshot), but I am not using any non-default formatting in the original spreadsheet?
ScreenShot
0
Comment
Question by:Flipp
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 6

Accepted Solution

by:
Eric Zwiekhorst earned 250 total points
Comment Utility
Dear Filipp,

You could try to ask your client to use paste special, and choose values, that way the formatting of the sheet will not be altered..


Kind regards


Eric
0
 
LVL 6

Author Comment

by:Flipp
Comment Utility
Well, I already found that this could be a workaround, but I would prefer to look deeper to find out what any possible conflicts could be.
Surely this is something that others have tried to do.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
Hi Flipp,

It is a weird formatting/conversion issue going from Excel to Numbers for iPad and back. I don't know if there is a solution other than to do paste special and values or use the format painter to fix it post-paste.

0
 
LVL 50

Assisted Solution

by:teylyn
teylyn earned 250 total points
Comment Utility
Hello,

if you don't want to trouble your client with learning how to use Paste Special - Values, you could have a Worksheet Change macro that removes any fill, font color and border formatting from the pasted cells.

Your client would have to have macros enabled to do this.

This is the code for Excel 2007 and later. It goes into the Sheet module (right-click the sheet tab, select View Code and paste the code into the code window)

Private Sub Worksheet_Change(ByVal Target As Range)
    With Target.Font
        .ColorIndex = xlAutomatic
        .TintAndShade = 0
    End With
    With Target.Interior
        .Pattern = xlNone
        .TintAndShade = 0
        .PatternTintAndShade = 0
    End With
    With Target
        .Borders(xlDiagonalDown).LineStyle = xlNone
        .Borders(xlDiagonalUp).LineStyle = xlNone
        .Borders(xlEdgeLeft).LineStyle = xlNone
        .Borders(xlEdgeTop).LineStyle = xlNone
        .Borders(xlEdgeBottom).LineStyle = xlNone
        .Borders(xlEdgeRight).LineStyle = xlNone
        .Borders(xlInsideVertical).LineStyle = xlNone
        .Borders(xlInsideHorizontal).LineStyle = xlNone
    End With
End Sub

Open in new window


If you need the code for Excel 2003 or earlier, please pipe up.

cheers, teylyn
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
Oooo, that's certainly better than Format Painter.  Nice job teylyn.
0
 
LVL 50

Expert Comment

by:teylyn
Comment Utility
Here's the same macro code for Excel 2003 and earlier

Private Sub Worksheet_Change(ByVal Target As Range)
With Target
    .Font.ColorIndex = 0
    .Interior.ColorIndex = xlNone
    .Borders(xlDiagonalDown).LineStyle = xlNone
    .Borders(xlDiagonalUp).LineStyle = xlNone
    .Borders(xlEdgeLeft).LineStyle = xlNone
    .Borders(xlEdgeTop).LineStyle = xlNone
    .Borders(xlEdgeBottom).LineStyle = xlNone
    .Borders(xlEdgeRight).LineStyle = xlNone
    .Borders(xlInsideVertical).LineStyle = xlNone
    .Borders(xlInsideHorizontal).LineStyle = xlNone
End With
End Sub

Open in new window


Any cell that is edited or pasted will be formatted with no background, automatic font color and no borders.

cheers, teylyn
0
 
LVL 6

Author Comment

by:Flipp
Comment Utility
Does anyone have a copy of Numbers on Mac that they can test? I would like to know if this is isolated to Numbers App on iPad or Numbers in general.
0
 
LVL 6

Author Closing Comment

by:Flipp
Comment Utility
Thank you all - did not see any update to my final comment so closing question.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Hi Folks, This article is intended to throw some light or basically give an idea towards taking the first step in the world of Systems Administration. This would in the real context of the word "Systems Administration" which would mean right from…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now