Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Mex Mex is offline
external usenet poster
 
Posts: 19
Default Destination formatting 2000?

Excel 2003 has the function to match destination formatting when pasting in
to a sheet.
How can I do this in 2000?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,173
Default Destination formatting 2000?

Mex

Smarttags where introduced in XP (2002), after 2000, so you could use the
format painter to imitate. The little icon with the paintbrush on

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
www.nickhodge.co.uk


"Mex" wrote in message
...
Excel 2003 has the function to match destination formatting when pasting
in
to a sheet.
How can I do this in 2000?


  #3   Report Post  
Posted to microsoft.public.excel.misc
Mex Mex is offline
external usenet poster
 
Posts: 19
Default Destination formatting 2000?

Unfortunatly I am pasting in from internet explorer.
I'll explain my problem further.

I am pasting in numbers with 0's at the beginning. Therefore I loose the
0's. I need to be able to paste in to the document without loosing the 0's
and without going back after the paste to add the 0's.

Thanks

"Nick Hodge" wrote:

Mex

Smarttags where introduced in XP (2002), after 2000, so you could use the
format painter to imitate. The little icon with the paintbrush on

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
www.nickhodge.co.uk


"Mex" wrote in message
...
Excel 2003 has the function to match destination formatting when pasting
in
to a sheet.
How can I do this in 2000?


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,173
Default Destination formatting 2000?

Mex

Try pre-formatting the cells as text

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
www.nickhodge.co.uk


"Mex" wrote in message
...
Unfortunatly I am pasting in from internet explorer.
I'll explain my problem further.

I am pasting in numbers with 0's at the beginning. Therefore I loose the
0's. I need to be able to paste in to the document without loosing the 0's
and without going back after the paste to add the 0's.

Thanks

"Nick Hodge" wrote:

Mex

Smarttags where introduced in XP (2002), after 2000, so you could use the
format painter to imitate. The little icon with the paintbrush on

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
www.nickhodge.co.uk


"Mex" wrote in message
...
Excel 2003 has the function to match destination formatting when
pasting
in
to a sheet.
How can I do this in 2000?



  #5   Report Post  
Posted to microsoft.public.excel.misc
Mex Mex is offline
external usenet poster
 
Posts: 19
Default Destination formatting 2000?

Unfortunatly when you format the cells, then paste in to them the formatting
changes.

If you do this from within excel it will work fine, but I am pasting from
internet explorer.

I wrote a small macro to go back and change the formatting once I have
pasted, but this still does not have the desired affect.

Say I had a number "0044" upon pasting it would change to 44, then I would
run the macro which would change the field in to "special" which was set to
0000. The number will appear to be 0044, but if you look at the formula bar,
you will see that it is actuall still only 44!!!!

Still trying..

"Nick Hodge" wrote:

Mex

Try pre-formatting the cells as text

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
www.nickhodge.co.uk


"Mex" wrote in message
...
Unfortunatly I am pasting in from internet explorer.
I'll explain my problem further.

I am pasting in numbers with 0's at the beginning. Therefore I loose the
0's. I need to be able to paste in to the document without loosing the 0's
and without going back after the paste to add the 0's.

Thanks

"Nick Hodge" wrote:

Mex

Smarttags where introduced in XP (2002), after 2000, so you could use the
format painter to imitate. The little icon with the paintbrush on

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
www.nickhodge.co.uk


"Mex" wrote in message
...
Excel 2003 has the function to match destination formatting when
pasting
in
to a sheet.
How can I do this in 2000?




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 422
Default Destination formatting 2000?

In a standard module enter:

Sub FillDigits()
'This macro converts cell values from numbers (as General format) to
Text.
'It Converts only a single column of cells at a time
'Before Running this macro make sure you have selected
'the first (top-most) cell in the column to be converted.
'the macro will convert each cell (downward) until it reaches
'a blank cell and will stop
'Current setting below allows for 5 full digits (including your number)

r = ActiveCell.Row
c = ActiveCell.Column
While Not IsEmpty(Cells(r, c))
celVal = Trim(Cells(r, c))
Cells(r, c).NumberFormat = "@"
Cells(r, c) = Application.Rept("0", 5 - Len(celVal)) & celVal
r = r + 1
Wend

End Sub

Hope this helps,

Jim May



"Mex" wrote in message
:

Unfortunatly when you format the cells, then paste in to them the formatting
changes.

If you do this from within excel it will work fine, but I am pasting from
internet explorer.

I wrote a small macro to go back and change the formatting once I have
pasted, but this still does not have the desired affect.

Say I had a number "0044" upon pasting it would change to 44, then I would
run the macro which would change the field in to "special" which was set to
0000. The number will appear to be 0044, but if you look at the formula bar,
you will see that it is actuall still only 44!!!!

Still trying..

"Nick Hodge" wrote:

Mex

Try pre-formatting the cells as text

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
www.nickhodge.co.uk


"Mex" wrote in message
...
Unfortunatly I am pasting in from internet explorer.
I'll explain my problem further.

I am pasting in numbers with 0's at the beginning. Therefore I loose the
0's. I need to be able to paste in to the document without loosing the 0's
and without going back after the paste to add the 0's.

Thanks

"Nick Hodge" wrote:

Mex

Smarttags where introduced in XP (2002), after 2000, so you could use the
format painter to imitate. The little icon with the paintbrush on

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
www.nickhodge.co.uk


"Mex" wrote in message
...
Excel 2003 has the function to match destination formatting when
pasting
in
to a sheet.
How can I do this in 2000?



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
Automatically match destination formatting? Nuttysmallbar Excel Discussion (Misc queries) 3 September 30th 09 09:04 PM
Automatic "Match Destination Formatting"? VioletMesses Excel Discussion (Misc queries) 2 August 23rd 06 10:00 PM
paste options - set default to match destination formatting Amy Excel Discussion (Misc queries) 1 June 20th 06 07:39 AM
HDI change paste options default to "Match Destination Formatting HAT3 Setting up and Configuration of Excel 0 May 4th 06 02:51 PM
Help needed with textbox formatting in Excel 2000 JIMBROOKS Excel Discussion (Misc queries) 1 January 1st 05 03:33 PM


All times are GMT +1. The time now is 12:44 AM.

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

About Us

"It's about Microsoft Excel"