PC Review


Reply
Thread Tools Rate Thread

VBA Invalid Qualifier

 
 
New Member
Join Date: Jun 2010
Posts: 1
 
      18th Jun 2010
Hi,

I'm trying to call a userform (code for this one found below) from another userform. The first one works similarly to this one--different variables, but same structure--and runs fine, but I receive an "Invalid Qualifier" error when this one runs for every variable (if I comment the first one out it will do it to the second one, etc).

Is there something wrong with calling a private sub from a private sub, or is something else going on?

PHP Code:
Private Sub CMA_FL_EABS_RR_BPR_Update_Click()
  
  
Dim Cavity_Number As Integer
  Dim Wet_Weight 
As Double
  Dim Dry_Weight 
As Double
  Dim one50_1 
As Double
  Dim one50_2 
As Double
  Dim one50_3 
As Double
  Dim three50_1 
As Double
  Dim three50_2 
As Double
  Dim three50_3 
As Double
  
  Cavity_Numbery 
Cavity_Number.Value
  Wet_Weighty 
Wet_Weight.Value
  Dry_Weighty 
Dry_Weight.Value
  One50_1y 
one50_1.Value
  One50_2y 
one50_2.Value
  One50_3y 
one50_3.Value
  Three50_1y 
three50_1.Value
  Three50_2y 
three50_2.Value
  Three50_3y 
three50_3.Value
  
  Cells
(lastrow i51).Value Cavity_Numbery
  Cells
(lastrow i52).Value Wet_Weighty
  Cells
(lastrow i53).Value Dry_Weighty
  Cells
(lastrow i54).Value One50_1y
  Cells
(lastrow i55).Value One50_2y
  Cells
(lastrow i56).Value One50_3y
  Cells
(lastrow i57).Value Three50_1y
  Cells
(lastrow i58).Value Three50_2y
  Cells
(lastrow i59).Value Three50_3y
  
  End Sub 
Thank you.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Invalid qualifier Martin Wheeler Microsoft Excel Programming 5 13th Dec 2004 01:58 AM
Error Invalid Qualifier LWhite Microsoft Excel Programming 3 9th Dec 2004 06:29 PM
Invalid Qualifier??? Michael Vaughan Microsoft Excel Programming 1 29th Nov 2004 12:46 PM
Please check this code (ready to paste for you) - gives error "Invalid qualifier" - It is a protect/unprotect/password routine Gunnar Johansson Microsoft Excel Programming 2 4th Nov 2004 06:59 AM
Trying to understand "Invalid qualifier" error Mike Frith Microsoft Powerpoint 2 2nd Sep 2003 04:31 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:43 PM.