Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
cjrolls
 
Posts: n/a
Default How can I automatically have 10% added to cell after typing a valu

Hello Is there any way to have excel 2000 automatically enter the new amount
in same cell of what i type plus GST of 10 %. e.g I type 10.46 in to cell and
when I push enter excel replaces it with 11.506
Many thanks
  #2   Report Post  
 
Posts: n/a
Default

Something like
Private Sub Worksheet_Change(ByVal Target As Range)


If Target.Column = 3 Then ' onl;y column C
Application.EnableEvents = False
Target = Target * 1.1
Application.EnableEvents = True
End If


End Sub


  #3   Report Post  
Nick Hodge
 
Posts: n/a
Default

You could using a worksheet_change() event like so (This works in column A).
To implement go to http://www.nickhodge.co.uk/vba/vbaim....htm#EventCode

Private Sub Worksheet_Change(ByVal Target As Range)
With Application
If Not .Intersect(Target, Columns("A:A")) Is Nothing Then
..EnableEvents = False
Target.Value = Target.Value * 1.1
..EnableEvents = True
End If
End With
End Sub

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS


"cjrolls" wrote in message
...
Hello Is there any way to have excel 2000 automatically enter the new
amount
in same cell of what i type plus GST of 10 %. e.g I type 10.46 in to cell
and
when I push enter excel replaces it with 11.506
Many thanks



  #4   Report Post  
Tushar Mehta
 
Posts: n/a
Default

You have already received possible solutions to your question. Since I
am not a big fan of (a)VBA when a non-VBA solution works, (b) automated
changes to user data entry, and (c) especially those made without any
audit trail, here's a non-VBA solution.

Suppose the person enters data in column A. Then, in column B2 enter
the formula =A2*1.1 and label column B as 'Price with GST'

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Multi-disciplinary business expertise
+ Technology skills
= Optimal solution to your business problem
Recipient Microsoft MVP award 2000-2005

In article ,
says...
Hello Is there any way to have excel 2000 automatically enter the new amount
in same cell of what i type plus GST of 10 %. e.g I type 10.46 in to cell and
when I push enter excel replaces it with 11.506
Many thanks

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
copying a cell to another cell automatically Amit New Users to Excel 2 January 12th 05 01:41 PM
automatically insert system time in a cell PM Excel Discussion (Misc queries) 2 December 30th 04 04:56 PM
prevent 4/5 in a cell automatically transfer to a date format kei Excel Discussion (Misc queries) 3 December 9th 04 11:52 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM
How to change (delivery) days and automatically the receive date in an other cell? Elboo Excel Worksheet Functions 5 November 22nd 04 02:44 PM


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