Macros in Excel

Reply

Join Date: Apr 2004
Posts: 37
Reputation: crazy_girl292 is an unknown quantity at this point 
Solved Threads: 0
crazy_girl292 crazy_girl292 is offline Offline
Light Poster

Macros in Excel

 
0
  #1
May 5th, 2004
Hi... I'm just a beginner in Excel and i have problem concerning building macros... would anyone be willing to give me few tips on how to create and a simple example of a syntax in a macro. Any help will be appreciated...
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 37
Reputation: crazy_girl292 is an unknown quantity at this point 
Solved Threads: 0
crazy_girl292 crazy_girl292 is offline Offline
Light Poster

Re: Macros in Excel

 
0
  #2
May 5th, 2004
*actually im a beginner in building marcos
Reply With Quote Quick reply to this message  
Join Date: May 2003
Posts: 307
Reputation: big_k105 is an unknown quantity at this point 
Solved Threads: 2
Team Colleague
big_k105's Avatar
big_k105 big_k105 is offline Offline
PFO Founder

Re: Macros in Excel

 
0
  #3
May 6th, 2004
what do you want to know about creating macros. and are you talking VBA im guessing you are. if you need some help jst ask a specific question. im not good at giving tips but i can help for problems
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 37
Reputation: crazy_girl292 is an unknown quantity at this point 
Solved Threads: 0
crazy_girl292 crazy_girl292 is offline Offline
Light Poster

Re: Macros in Excel

 
0
  #4
May 7th, 2004
I don't exactly know how write macros... and really want to know what the syntax "sub" and all those types stand for... i'd rather u post an example if possible
Reply With Quote Quick reply to this message  
Join Date: May 2003
Posts: 307
Reputation: big_k105 is an unknown quantity at this point 
Solved Threads: 2
Team Colleague
big_k105's Avatar
big_k105 big_k105 is offline Offline
PFO Founder

Re: Macros in Excel

 
0
  #5
May 7th, 2004
well i will tell you how to to get to the vba stuff when i get to work today as i dont have windows or ms office on my home computers so when i get to work i will help guide you to get to the macro stuff.
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 37
Reputation: crazy_girl292 is an unknown quantity at this point 
Solved Threads: 0
crazy_girl292 crazy_girl292 is offline Offline
Light Poster

Re: Macros in Excel

 
0
  #6
May 7th, 2004
ummm.. ok...
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 37
Reputation: crazy_girl292 is an unknown quantity at this point 
Solved Threads: 0
crazy_girl292 crazy_girl292 is offline Offline
Light Poster

Re: Macros in Excel

 
0
  #7
May 10th, 2004
exactly when do u get to work? Just to let u know... I M WAITING.....
Reply With Quote Quick reply to this message  
Join Date: May 2003
Posts: 307
Reputation: big_k105 is an unknown quantity at this point 
Solved Threads: 2
Team Colleague
big_k105's Avatar
big_k105 big_k105 is offline Offline
PFO Founder

Re: Macros in Excel

 
0
  #8
May 10th, 2004
sorry about that i got busy at work. and now i dont work till thrusday. and i wont get anytime for awhile to explain everything to you so here is a good tutorial to get you started. if you have any other questions let me know and i will try to help
http://spreadsheets.about.com/cs/exc.../vba1index.htm
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 40
Reputation: Buff is an unknown quantity at this point 
Solved Threads: 0
Buff Buff is offline Offline
Light Poster

Re: Macros in Excel

 
0
  #9
May 23rd, 2004
I've got an accounting program I wrote (basically a General Ledger). I
have an option to send the postings to a spreadsheet.

I use a comma delimited file. This works fine.
The user can include up to 6 fields, the last being the amount field.
I want to be able to include a macro or something to total this last column
at the bottom of the spreadsheet, when it is imported.

Any Ideas.
Fields are:
Date, Journal, Reference, Description, Account, Amount

I don't send (currently) any formatting information, just a comma delimited
file with the headings as the first "record"

Thanks in advance for any help.
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 40
Reputation: Buff is an unknown quantity at this point 
Solved Threads: 0
Buff Buff is offline Offline
Light Poster

Re: Macros in Excel

 
0
  #10
May 24th, 2004
Got the answer (to my question above) on the PowerBasic forum
add a line
,,,"Totals",,=SUM(F1.F4)

In my case whether I use F or another letter depends on how many
fields are selected by the user (amount if selected will always be last).
the 1 and 4 are replaced with beginning record number and ending record
number +2
(I actually use Val(EndRec$)-Val(BegRec$)+3
Then I simply change the width on the description and amount fields (in excel after importing) and viola.

BegRec$ is the beginning record selected by the user from the data file,
etc.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC