Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Pasting data into Excel from Access

0 views
Skip to first unread message

Paul Chauvin

unread,
Aug 27, 2003, 8:58:39 AM8/27/03
to
When pasting data from Access into Excel, columns of
numbers cannot be autosummed even though the cell format
shows the format as general. Any attempt to change the
format of those cells has no effect on the data in the
cells. Is there a way to correct that?

matt b

unread,
Aug 27, 2003, 9:33:43 AM8/27/03
to
Have the same problem, quick way round it is to paste data
into notepad then save as text doc. Then use excel to read
it and import following wizard. Probably a much easier
answer but this works in short term. Got to be a bug I
think

>.
>

Dave Peterson

unread,
Aug 27, 2003, 7:02:39 PM8/27/03
to
Try selecting an empty cell
copy it
select your range of offending "numbers"
Edit|Paste special|check Add under operations

Just formatting your cell to general, doesn't change the value in the cell. (If
it was "text" numbers, it's still text numbers. But the next time you change
the cell, xl will see it as a number.)

You could format the cells as General. Then hit F2, enter for each cell. But
the copy|paste special|Add is much, much quicker.

--

Dave Peterson
ec3...@msn.com

Debra Dalgleish

unread,
Aug 27, 2003, 7:23:07 PM8/27/03
to
If you copy from Access 2002 and paste into Excel, the numbers are
pasted in as text. You'll have to change them back to numbers before you
can format them:

1. Select an empty cell on the worksheet
2. Choose Edit>Copy
3. Select the cells that you pasted from Access
4. Choose Edit>Paste Special
5. Select Add, click OK

If you do this frequently, you can use a macro to convert the numbers.
I use this one (written by Jon Peltier):

Sub ConvertToNumbers()
Cells(65535, 255).Copy
Selection.PasteSpecial Paste:=xlPasteValues, _
Operation:=xlPasteSpecialOperationAdd
End Sub


--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

0 new messages