create borders using vba
using macro, i want to create borders from col A - col Y, and for rows it depend with last cell in col A.
if col A have values till A1300, then it will create borders from A1:Y1300.
if col A have values till A50, then it will create borders from A1:Y50.
hope you get with i want
Anwsers to the Problem create borders using vba
If the requirment is for Borderaround; that could be acheived using BorderAround
With Range("A1", Cells(Cells(Rows.Count, "A").End(xlUp).Row, "Y"))
.Borders.LineStyle = xlNone
.BorderAround xlContinuous, xlThin, xlColorIndexAutomatic
Use the System File Checker tool to repair corrupted or missing system files:
- Click Start.
- Type cmd, and then press CTRL+SHIFT+ENTER to open the elevated command prompt (I.e. Command prompt with administrative rights).
- The User Account Control window should appear, be sure that the action it exhibits is correct, and then press the Continue button.
- Type or copy paste the below command line into it without quotes:
- "Sfc /scannow"
Recommended Method to Fix the Problem: create borders using vba:
How to Fix create borders using vba with SmartPCFixer?
1. You can Download SmartPCFixer here. Install it on your system. When you open it, it will perform a scan.
2. After the scan is done, you can see the errors and problems need to be repaired. Click Fix All.
3. The Repair part is done, the speed of your computer will be much higher than before and the errors have been fixed. You can also use other functions in SmartPCFixer. Like dll downloading, windows updating and print spooler error repair.
Related: How Can You Update & Download NVidia 6100, 6800 GS/XT Display Driver v.260.89 WHQL,Where to Download NVidia GeForce 8800 GT WHQL-certified driver v.196.21,How to Update & Download NVidia GeForce Go 7400 Display Driver v.260.19.12,[Solved] Download NVidia GeForce GTX 460M Driver v.331.82,Download NVidia Quadro Plex Model IV VGA Driver v.304.43 Certified,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.220.127.116.1186,Method to Herunterladen ASUS K75VJ Intel Rapid Storage Technology Treiber v.18.104.22.1680,How Can You Update & Download ASUS CG8580 Intel Chipset Driver v.22.214.171.1249,Method to Update & Download ASUS K41VD Intel INF Update Driver v.126.96.36.1995,Way to Update & Download ASUS Pro70T NB Probe v.3.0.0026 driver
Read More: Fast Solution to Error: convert 32 bit CD to 64 bit so my computer will recognize it.,Solution to Error: CorelDraw 12 on windows 7,Troubleshoot:csrss.exe application cannot be run in win32 mode Error,Tech Support: CPU USAGE ALWAYS ABOVE 50% ALSO WHEN PC AT IDLE STATE ...,Cumulative Security Update KB2699988 crashes Internet explorer,Closing Internet Explorer causes error,Compare 2 Tables and Calculate the PROFIT Faster,Computer goes to Windows Boot Manager after Start,Connect to one of my network computer remotely when don't allow exception box Marked,computer locking up randomly