LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Please help a beginner....


Now, I'm very new too all of this so please be gentle with me!

I am trying to create a User Form for people to book equipment throug
and I'm getting there but I'm finding a couple of things problematic:

The information my colleagues fill out on the User Form load into
spreadsheet when the order is submitted. This spreadsheet has separat
columns for Equipment, Location, Shipping Date and Return Date.

I have the following code:

If chkItemX.Value = True And Range("D10").Value = "Company Name" Then
Range("F10").Value = txtEvent.Text
Range("G10").Value = txtShipping.Text
Range("H10").Value = txtReturn.Text
ElseIf chkItemX.Value = True And Range("D10").Value = "USA" Then
MsgBox "Item X Is Unavailable"
ElseIf chkItemX.Value = False Then
End If

Which is all very well and good if the equipment is either with us o
in the USA however, what I really want to be able to say somethin
like:

If chkItemX.Value = True And Range("D10").Value = "Company Name" Then
Range("F10").Value = txtEvent.Text
Range("G10").Value = txtShipping.Text
Range("H10").Value = txtReturn.Text
ElseIf chkItemX.Value = True And Range("D10").Value = "Anything Othe
Than Company Name" Then
MsgBox "Item X Is Unavailable"
ElseIf chkItemX.Value = False Then
End If

But I have no idea how to write the code for the bit 'Range("D10).Valu
= "Anything Other Than Company Name".....any ideas.....am I making an
sense....?

Thank you for bearing with me,

L

--
Lindse
-----------------------------------------------------------------------
Lindsey's Profile: http://www.excelforum.com/member.php...fo&userid=2909
View this thread: http://www.excelforum.com/showthread.php?threadid=48818

 
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
beginner question Roshintosh Excel Programming 2 November 9th 05 02:11 AM
Beginner at VBA Bob Simon Excel Programming 5 December 4th 04 03:31 PM
macro help for a beginner Danz[_3_] Excel Programming 1 November 15th 04 07:51 AM
macro help for a beginner Danz[_2_] Excel Programming 0 November 14th 04 10:56 AM
macro help for a beginner Danz Excel Programming 2 November 14th 04 10:20 AM


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