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 May 31st, 2005, 12:14 PM
abhaysanan abhaysanan is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: NY
Posts: 3 abhaysanan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 48 m 35 sec
Reputation Power: 0
Lightbulb Help with Excel and VBA related stuff

Hi there,

I'm pretty new at vba and so i need some help on this project i'm workin on. I have a working spreadsheet that gets data from an external source. Its live data and so is refreshed periodically. What I need to do is create a userform which lets me add rows into the spreadsheet.

Here are few problems and doubts that I have. Firstly, I have tons of columns considering this is a finance based spreadsheet. But my userform has only 1 combo box, a textbox, 2 radio buttons and an ok and cancel button. What i require is that when I fill in the details in these fields, and click ok, a new row needs to be created with only fields that have been entered. But what I also need is formulas and all that are present in previous rows to apply to the new row as well. I'm not too sure on how to even go about it.

I could loop through a column to get the items for the combo box, but how do i get rid of duplicate items?

My main concern is inserting and making sure that the formulas in above rows get extended to the new row. Hope this is somewhat clear and would appreciate if anyone could help.

Thanks!!

Reply With Quote
  #2  
Old May 31st, 2005, 07:09 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 21 h 28 m 48 sec
Reputation Power: 180
VBA is documented in the Excel online help, among other places. www.mvps.org is a good site to look for code samples.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > Help with Excel and VBA related stuff


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 3 hosted by Hostway