Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old June 14th, 2005, 02:31 AM
shodan shodan is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Posts: 2 shodan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 32 m 58 sec
Reputation Power: 0
VB for excell - question about codes

Hi Guys,

I starting to expiriment woth VB in excell, so I don't have any knowledge yet. The thing I wanted to do is create a code that would easily show a certain range of numbers in thousands or just as full numbers. I though I succeeded in making a very simple script which is the following:

Sub vermenigvuldig()
For rij = 1 To 10
For kolom = 1 To 3
If Cells(rij, kolom) <> "" Then
Cells(rij, kolom) = Cells(rij, kolom) * 10

End If
Next kolom
Next rij
End Sub

I have than the same script to divide back by 10. this worked, but my file I want to apply this script on, is a file which exist only out of lookups towards another file. I don't know why, but If I sent this file by mail. Somewhere it keeps all info, because users can still use a dropdown box per to show data in different months. Anyway to keep it short, if I aplly that script, my original data is gone en my file is not usable anymore. So I'm looking for something to be changed on my code, that it not just takes the value of the cells and muliply it, but that it enters the cell and the it inserts the multiplication behind the original formula.

Is this still clear for someone
Guys this is my first post and my first steps into vb so don't be to hard on me.
Thanks for the help !!!
shodan

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > VB for excell - question about codes


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT