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

Hello.I have some questions about macros.
I must complete one exercise in excel,which contains macros.
I have 3 cols
1.Date
2.Expense
3.Income
And i have 3 exercises:
1.Allow to put a number from 0 to 100 in 3. col ,but if the number is 100 ask for agreement.
2.Allow to fill Income col only when the date col if filled
3. Allow to fill Income col only when expense col in empty.

Can somebody help me with this exercise?





EggHeadCafe - Software Developer Portal of Choice
Dr. Dotnetsky's Cool .NET Tips and Tricks # 19
http://www.eggheadcafe.com/tutorials...-cool-net.aspx
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default excel macros

What is learned by someone else doing the homework?


<Andrew Barrimore wrote in message ...
Hello.I have some questions about macros.
I must complete one exercise in excel,which contains macros.
I have 3 cols
1.Date
2.Expense
3.Income
And i have 3 exercises:
1.Allow to put a number from 0 to 100 in 3. col ,but if the number is 100
ask for agreement.
2.Allow to fill Income col only when the date col if filled
3. Allow to fill Income col only when expense col in empty.

Can somebody help me with this exercise?





EggHeadCafe - Software Developer Portal of Choice
Dr. Dotnetsky's Cool .NET Tips and Tricks # 19
http://www.eggheadcafe.com/tutorials...-cool-net.aspx



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default I learn that way

At least I would know from where to start



JLGWhiz wrote:

What is learned by someone else doing the homework?
15-Nov-09

What is learned by someone else doing the homework?

Previous Posts In This Thread:

EggHeadCafe - Software Developer Portal of Choice
Karl Moore's Visual Basic .NET: The Tutorials
http://www.eggheadcafe.com/tutorials...ual-basic.aspx
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default I learn that way

Then here is a starter. Copy this code to the sheet code module. To access
the sheet code module, press Alt + F11 to open the VB editor. In the
Project window, double click on the sheet name. The title bar should
indicate that you have the sheet code module open. Paste the code in the
big window. Then save the file. Now enter a value greater than 100 in
column A. Then try entering a value of 100 or less into column A.

Sub WorkSheet_Change(ByVal Target As Range)
If Target.Column = 1 Then
If Target.Value 100 Then
MsgBox "Value too much"
Target = ""
End If
End If
End Sub







<Andrew Barrimore wrote in message ...
At least I would know from where to start



JLGWhiz wrote:

What is learned by someone else doing the homework?
15-Nov-09

What is learned by someone else doing the homework?

Previous Posts In This Thread:

EggHeadCafe - Software Developer Portal of Choice
Karl Moore's Visual Basic .NET: The Tutorials
http://www.eggheadcafe.com/tutorials...ual-basic.aspx



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
Excel 2007 macros - how to merge 5 macros together into one Sue Excel Discussion (Misc queries) 1 April 16th 08 08:36 PM
Training: More on how to use macros in Excel: Recording Macros ToriT Excel Worksheet Functions 2 February 10th 06 07:05 PM
convert lotus 123w macros to excel macros rpiescik[_2_] Excel Programming 1 September 19th 04 12:41 PM
convert lotus 123w macros to excel macros rpiescik Excel Programming 1 September 18th 04 01:35 PM
Making excel macros run Word macros Matthew McManus Excel Programming 1 February 18th 04 02:57 AM


All times are GMT +1. The time now is 09:50 PM.

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"