Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default newbie programming

I need some help guys, first off, i need to know how to
pull individual cell values into vba as variables.

second, is it possible to call a function in excel in vba,
i need to be able to do a loan calculation when a command
button is pressed.

thanks,
Josh Ashcraft
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default newbie programming

Josh,

This macro does both, pulls cell values as variables and calculates a loan
payment.

Sub test3()
payment = Application.WorksheetFunction.Pmt(Range("a1"), Range("a2"),
Range("a3"))
End Sub

Don Pistulka


"Josh Ashcraft" wrote in message
...
I need some help guys, first off, i need to know how to
pull individual cell values into vba as variables.

second, is it possible to call a function in excel in vba,
i need to be able to do a loan calculation when a command
button is pressed.

thanks,
Josh Ashcraft



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
programming help biker man Excel Discussion (Misc queries) 2 July 22nd 07 11:54 PM
Real Newbie newbie question Dave New Users to Excel 0 January 10th 07 07:55 PM
programming ernie Excel Discussion (Misc queries) 4 March 13th 06 02:06 PM
newbie needs help in Ezcel programming Amy Excel Discussion (Misc queries) 1 March 22nd 05 02:18 PM
newbie needs help in Ezcel programming Amy Excel Discussion (Misc queries) 0 March 22nd 05 02:17 PM


All times are GMT +1. The time now is 01:06 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"