Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-10-2017, 03:09 PM
cboshdave cboshdave is offline Invalid Qualifier Error... Windows 7 64bit Invalid Qualifier Error... Office 2013
Novice
Invalid Qualifier Error...
 
Join Date: Jul 2017
Posts: 3
cboshdave is on a distinguished road
Default Invalid Qualifier Error...

I get that this is a common error. I write these things all the time. I am stumped on this one though.

sBaby is defined as a String.
The variable defines just fine. I just can do a Substring on it for some reason?
It is erroring on the variable in the second line.
Yes, i feel dumb asking... but I have spent too much time trying to figure it out!!!

sBaby1 = oMasterFile.Sheets(1).Cells(r, cBabyId).Value
sBaby1 = sBaby1.Substring(1, iPosition)

Nevermind. I figured it out. Not sure how to delete this posting. Apparently, I just needed to walk away for a bit and come back fresh. I guess VBA did not like Substring.



sBaby1 = Left(sBaby1, iPosition - 1)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
error 1324 Invalid character Stuka Office 0 05-20-2017 08:50 PM
Invalid Qualifier Error... Bibiography citation gets "Invalid source specified" error Jennifer Murphy Word 9 03-26-2017 11:21 PM
Help with Invalid Use of Null Error electronicpizza Word VBA 3 12-15-2014 02:15 AM
Invalid Qualifier Error... Invalid Product Key djclinton Office 1 09-18-2011 09:29 AM
Invalid Qualifier Error... invalid recipient impressionsIT Outlook 1 06-22-2011 08:31 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:42 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft