473,387 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Have to type single/double quotes twice

Hi,
Sorry for repeating the question. I am facing problem when working in vba editor. I need to type single/double quotes twice and then delete one of them. One solution that's on the web is to change the Keyboard language in "Region and Language" to English (United States ) - US. I checked settings in my laptop and found that the keyboard language is set to English (United States) - US already. I am using Win 7. Not sure what's wrong.
Jun 24 '11 #1
8 19507
Adam Tippelt
137 100+
When you say twice do you mean two pairs of quotes (""<Some code here>""), or two quotes meaning one opening and one closing quote? ("<Some code here>")

You need to give more explanation on what you're trying to achieve.
Jun 24 '11 #2
hi Adam
What I meant was, If i need one single/double quote, I have to type twice or have to type a character after that, in order it to become visible.
So if I type once, it does not appear. If I press double quote again or any other key, it appears.
Jun 24 '11 #3
Adam Tippelt
137 100+
Oh right.
That's more a laptop issue than one related specifically to MS Access or VBA.

Are you sure the setting is English (United States) and not anything like English International (United States)?
Even if it's already set to English (United States), it might be worth trying to change it to something else, log out, log in, changing it back, log out, log in, and see if that does anything.
Occasionally systems can get confused - I often have something like MS Word telling me it's using UK English spellchecking, yet it's suggesting US English spellings.
Jun 24 '11 #4
NeoPa
32,556 Expert Mod 16PB
I'll move this to the Windows forum where hopefully it will find more appropriate experts.
Jun 24 '11 #5
Nepomuk
3,112 Expert 2GB
Hi murthyspd!

I found this old thread which also talks about changing the keyboard layout. It seems, there are two English US layouts - one of them "International". That's the one you don't want. If you already have the correct one activated, try switching to the wrong one, saving the settings and testing that. It should work just like now. Then change it back. Theoretically, then it should work as you want it to.

Does that solve your problem?

Greetings,
Nepomuk
Jun 28 '11 #6
NeoPa
32,556 Expert Mod 16PB
I suspect this is still the problem. You say in the OP that you already have this set to English (United States) - US already, but also that you are using Windows 7. I think it's quite possible that the ability to specify accented characters (that this problem appears to be related to) is simply found in a different place in this new version of the operating system. I suggest you check through your Control Panel applets for anything which may be related and go through the options found within them until you discover what may effect this.

Please let us know what it turns out to be if you do find it. I'm sure there will be others who also need this information. Best of luck :-)
Jun 28 '11 #7
This has happened to me in VBA or while editing a macro. This can occur if you accidentally press CTRL + Shift at the same time while typing. Press CTRL + Shift again to undo this annoying issue. It's maddening to try and figure this out if no one else knows what in the world you are talking about!
May 9 '13 #8
I had the exact same problem in Excel and vba. gregla1's solution worked for me. ctrl+shift pressed together toggles the problem on and off. Thanks!!
Mar 14 '17 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: sinister | last post by:
The examples in the online manual all seem to use double quotes, e.g. at http://us3.php.net/preg_replace Why? (The behavior is different with single quotes, and presumably simpler to...
9
by: Dynamo | last post by:
Hi, I am still confused as when to use single or double quotes. This works: echo "<td>" . $row . "</td>"; and this does not
11
by: Jakanapes | last post by:
Hi all, I'm looking for a way to scan a block of text and replace all the double quotes (") with single quotes ('). I'm using PHP to pull text out of a mySQL table and then feed the text into...
5
by: Joel | last post by:
Hi, I incorporated a function in my code that whenever I use a string variable in an sql statement if the string contains a single quote it will encase it in double quotes else single quotes. ...
24
by: deko | last post by:
I'm trying to log error messages and sometimes (no telling when or where) the message contains a string with double quotes. Is there a way get the query to insert the string with the double...
4
by: (PeteCresswell) | last post by:
Is his just a flat-out "No-No" or is there some workaround when it comes time for SQL searches and DAO.FindFirsts against fields containing same? I can see maybe wrapping the value searched for...
12
by: Brett Hofer | last post by:
I must be missing something - Im a veteran C++ programmer now working with C# overall I like the language but find many weird changes... Anyway Im writing code behind an aspx. In this one C#...
7
by: gar | last post by:
Hi, I need to replace all the double quotes (") in a textbox with single quotes ('). I used this code text= Replace(text, """", "'" This works fine (for normal double quotes).The problem...
4
by: Justin Fancy | last post by:
Hi everyone, I need to replace all instances of a double quote(") with two single quotes('') in a text file. I already have some replacements of strings going on, but I tried this one, but the...
1
by: Yearwood | last post by:
Hi, I'm basically trying to import a CSV into an ACCESS database. Sample date is shown below: "",10173,"Development Manager - Social Economy Sector","Trust Bank",10153,,"Lolalll Pudd","Meet the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.