Check if a character is in a Word Table Cell
Hi,
I have a Word Table and I would like to check that if it has a "/" three characters from the right within a line of rows.
So information about the cell...
I enter the following as a date (Not code, just type) "00/00", most of the time, this is all I have in the cell, but sometimes I my have some text and Line Feed.
I would like to add only the cells that have the date as above, so what I want to do is check that the cell is not empty ie first part of my code, but also check for the date (Both are needed to make this true).
I have this code, but it is giving me an error, but I just cannot spot the error...
If Len(.Cell(WhichRow, 1).Range.Text) > 2 _
And Mid(.Cell(WhichRow, 1).Range.Text, Right(.Cell(WhichRow, 1).Range.Text, 3), 1) <> "/" Then
NoDate = NoDate + 1
end if
If Cell is not Empty and if 3 from the right does not equal "/" then
True.
Do I need to include the EndofCell so instead of 3 need
5.
Thank you for your help
Neil
Anwsers to the Problem Check if a character is in a Word Table Cell
Download SmartPCFixer to Fix It (Free)
Use Left(Right(oCell.Range, 5), 1)
Machine Throttling- Click the Start button.
- In the Search box, type "regedit" (without quotes) and press Enter.
- Look for the following registry key: "HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\ SQMClient\Windows\DisabledSessions".
- On the right window pane, delete the subkey: "Machine Throttling".
- Reboot your computer.
Another Safe way to Fix the Problem: Check if a character is in a Word Table Cell:
How to Fix Check if a character is in a Word Table Cell with SmartPCFixer?
1. Click the button to download SmartPCFixer . Install it on your computer. Open it, and it will perform a scan for your computer. The junk files will be shown in the list.
2. After the scan is finished, you can see the errors and problems need to be repaired. Click Fix All.
3. The Repair part is finished, the speed of your computer will be much higher than before and the errors have been removed. You can also use other functions in SmartPCFixer. Like dll downloading, windows updating and print spooler error repair.
Related: How Can You Update & Download Toshiba Satellite 5105-S501 Intel PRO 10/100 Driver v.8.0.43.0,How to Update & Download Toshiba Satellite C655D-S5139 BookPlace v.2.2.7530 driver,Method to Update & Download Toshiba Satellite L655-S5073 Realtek Wireless LAN Driver v.2.00.0011,Method to Update & Download Toshiba Satellite L840-ST2N01 Sleep Utility v.1.4.0022.000104 driver,Best Way to Update & Download Toshiba Satellite Pro S300-EZ2502 Extended Tiles for Windows Mobility Center v.1.01 driver,Best Way to Download NVidia GeForce 6100 VGA Driver v.304.51 Certified,How Can You Update & Download NVidia GeForce 9300/nForce 730i VGA Driver v.310.19 Certified,Method to Download NVidia GeForce GT 330M Driver v.340.65,How Can I Update & Download NVidia GeForce GTX 590 Driver v.280.26 WHQL,Method to Download NVidia Tesla C2050 Driver v.319.17,Way to Download RealTek RTL8100C(L) Driver v.5.01,Way to Download RealTek RTL8100E Drivers v.694,Way to Update & Download RealTek RTL8101L Auto Installation Program v.6.110 driver,Method to Update & Download RealTek RTL8111G PXE and RPL ROM code v.2.58 driver,How to Update & Download RealTek RTL8411B(N) Driver v.10.003,Best Way to Update & Download ASUS A53SV nVidia Graphics Driver v.8.17.12.6686,Method to Herunterladen ASUS K75VJ Intel Rapid Storage Technology Treiber v.11.6.0.1030,How Can You Update & Download ASUS CG8580 Intel Chipset Driver v.9.3.0.1019,Method to Update & Download ASUS K41VD Intel INF Update Driver v.9.1.1.1015,Way to Update & Download ASUS Pro70T NB Probe v.3.0.0026 driver,Can't Download PP Templates Automatically To Windows 7 W/IE 8,Can't Change Drive Letter - Vista,Can't Change Homegroup Sharing Permission,Can't Connect XP Shared Printer To Win7 Except As A Local Printer.__,Can You Connect The LAN Adapter For Wii On Your Windows 7 Laptop?
Read More: Troubleshooter of Error: Centricity DICOM Viewer- requires Explorer 6.0-- I have 8.0 (Vista),How to Fix Problem - Cant paste into formula bar excel 2007.?,Troubleshooting:cause of screen freeze with colored fine lines Error,How to Resolve - Card Reader sometimes detecting and sometimes not?,How to Fix Error - Cell content and format?,Can't access c drive to open programs.,Can you use just one hard drive to store a backup disk image and restore for multiple computers?,can not install Mcafee due to Java script error,,Can Word's track changes comments print in the outside border?,cannot install old software program because computer missing indeo codec driver
No comments:
Post a Comment