ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how to write Ctrl A in VBA (https://www.excelbanter.com/excel-programming/368437-how-write-ctrl-vba.html)

vumian[_21_]

how to write Ctrl A in VBA
 

hi everyone,

i have a range which i do not know how many cols and rows before

so, Solution here 1 cell in range is selected before, then do codin
mean Ctrl A, in order to Cells.select

thank yo

--
vumia
-----------------------------------------------------------------------
vumian's Profile: http://www.excelforum.com/member.php...fo&userid=3649
View this thread: http://www.excelforum.com/showthread.php?threadid=56527


Excelenator[_2_]

how to write Ctrl A in VBA
 

Why not use


Code
-------------------
Cells.CurrentRegion.Selec
-------------------


vumian Wrote:
hi everyone,

i have a range which i do not know how many cols and rows before

so, Solution here 1 cell in range is selected before, then do codin
mean Ctrl A, in order to Cells.select

thank yo


--
Excelenato

-----------------------------------------------------------------------
Excelenator's Profile: http://www.excelforum.com/member.php...fo&userid=3676
View this thread: http://www.excelforum.com/showthread.php?threadid=56527


vumian[_22_]

how to write Ctrl A in VBA
 

hi man,

thank you

--
vumia
-----------------------------------------------------------------------
vumian's Profile: http://www.excelforum.com/member.php...fo&userid=3649
View this thread: http://www.excelforum.com/showthread.php?threadid=56527



All times are GMT +1. The time now is 09:51 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com