#1   Report Post  
Posted to microsoft.public.excel.misc
chavicide
 
Posts: n/a
Default excel vba help plz


i wont to make an if statment in vba for excel that will if y
circumstances are met will minus x from a specific cell once only


--
chavicide
------------------------------------------------------------------------
chavicide's Profile: http://www.excelforum.com/member.php...o&userid=33798
View this thread: http://www.excelforum.com/showthread...hreadid=535672

  #2   Report Post  
Posted to microsoft.public.excel.misc
chavicide
 
Posts: n/a
Default excel vba help plz


bump bump bump bump


--
chavicide
------------------------------------------------------------------------
chavicide's Profile: http://www.excelforum.com/member.php...o&userid=33798
View this thread: http://www.excelforum.com/showthread...hreadid=535672

  #3   Report Post  
Posted to microsoft.public.excel.misc
Zack Barresse
 
Posts: n/a
Default excel vba help plz

Hi there,

Not sure what you're talking about here, but maybe something like this ...


Public blnRan as boolean

Sub Testing()
Dim rngCalc as range
Set rngCalc = Workbooks("Book1.xls").Sheets("Sheet1").Range("A1" ).Value
If y = "met" Then
If blnRan = False Then
rngCalc = rngCalc.Value - x
blnRan = True
End If
End If
End Sub


HTH

--
Regards,
Zack Barresse, aka firefytr



"chavicide" wrote
in message ...

i wont to make an if statment in vba for excel that will if y
circumstances are met will minus x from a specific cell once only


--
chavicide
------------------------------------------------------------------------
chavicide's Profile:
http://www.excelforum.com/member.php...o&userid=33798
View this thread: http://www.excelforum.com/showthread...hreadid=535672



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
Stop excel from dropping the 0 in the beginning of a number? Rosewood Setting up and Configuration of Excel 12 April 4th 23 02:12 PM
Open Excel 2003 from Windows Explorer pmpjr Excel Discussion (Misc queries) 9 September 11th 06 03:58 PM
Need suggestions for some uses of Ms Excel Bible John Excel Discussion (Misc queries) 1 February 27th 06 05:30 PM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM
Excel 2002 and 2000 co-install. Control Which Starts ? cnuk Excel Discussion (Misc queries) 2 January 17th 05 08:07 PM


All times are GMT +1. The time now is 08:41 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"