Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming,comp.databases.ms-access,microsoft.public.vb
mk mk is offline
external usenet poster
 
Posts: 1
Default Excel Formattings

I send data (percentages) to Excel with 1 decimal. The number before
send to excel is 1.2%. When send to Excel the number becomes 1.20%.
This is the default setting of Excel for percentages.

Can anything be done in order to avoid formatting numbers again in
Excel ?
  #2   Report Post  
Posted to microsoft.public.excel.programming
tod tod is offline
external usenet poster
 
Posts: 114
Default Excel Formattings

This statement will insure that your format is the way you
want it:

'After you're data is entered into Cell A1
ActiveSheet.Range("A1").NumberFormat = "0.0%"

tod

-----Original Message-----
I send data (percentages) to Excel with 1 decimal. The

number before
send to excel is 1.2%. When send to Excel the number

becomes 1.20%.
This is the default setting of Excel for percentages.

Can anything be done in order to avoid formatting numbers

again in
Excel ?
.

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
conditional formattings Not Very Good With Excel Excel Worksheet Functions 3 January 31st 05 08:25 PM


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