Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


programming using if else



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> Visual Basic Forum
View previous topic :: View next topic  
Author Message
suvendu4urs



Joined: 06 Jun 2008
Posts: 1
Location: bangalore

PostPosted: Fri Jun 06, 2008 12:59 pm    Post subject: programming using if else Reply with quote

If (Selection.Text = TWK) Then
If ((ActiveDocument.Name = "Selftest.doc")) Then
original
Else
Tabular
End If
Else
original
End If
ya actually i have seven files.inside that 4 files contain TWK and 3 files doesnot conatin.
in the if condition i am checking that it conatin TWK or not.if it conatin then it will print tabular.if it does not then it will print original.
so here selftest.doc which conatin TWK but for this file i want to print to print original.
but i want to write the program without using that file name.
how to do?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> Visual Basic Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap