Solved

Formatting between Numbers and Excel

Posted on 2011-03-07
8
199 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
ID: 35066680
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
ID: 35066754
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
ID: 35066834
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:Ingeborg Hawighorst
Ingeborg Hawighorst earned 250 total points
ID: 35066839
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 70

Expert Comment

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

Expert Comment

by:Ingeborg Hawighorst
ID: 35066902
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
ID: 35066914
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
ID: 35229462
Thank you all - did not see any update to my final comment so closing question.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
What's a UDID? If you're involved in developing, testing, or even reviewing an iOS application that's in beta, then at some point you may need to know the UDID for any iOS devices that you'll be testing on. What's the UDID? It stands for Unique Dev…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

895 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

15 Experts available now in Live!

Get 1:1 Help Now