Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default VB Syntax to select a range

I am trying to select a range from E294 to E314. I have set the two
cells to"
FFR = E294
FTR = E314
These have been Dim'd as Variants, and will be re-used elsewhere in the
procedure later.

I want to select the entire range so that I can do a copy/paste
function.

Can you please tell me how to code this?

Thanks.

Robert

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default VB Syntax to select a range

Sub cr()
mc = "e"
ffr = 2
ftr = 14
Range(Cells(ffr, mc), Cells(ftr, mc)).Select
End Sub

better yet, with no selections.

Range(Cells(ffr, mc), Cells(ftr, mc)).copy range("x2")

--
Don Guillett
SalesAid Software

"xjetjockey" wrote in message
oups.com...
I am trying to select a range from E294 to E314. I have set the two
cells to"
FFR = E294
FTR = E314
These have been Dim'd as Variants, and will be re-used elsewhere in the
procedure later.

I want to select the entire range so that I can do a copy/paste
function.

Can you please tell me how to code this?

Thanks.

Robert



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default VB Syntax to select a range

Dim s as String
s=FFR & ":" & FTR
Range(s).Select
--
Gary''s Student


"xjetjockey" wrote:

I am trying to select a range from E294 to E314. I have set the two
cells to"
FFR = E294
FTR = E314
These have been Dim'd as Variants, and will be re-used elsewhere in the
procedure later.

I want to select the entire range so that I can do a copy/paste
function.

Can you please tell me how to code this?

Thanks.

Robert


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7,247
Default VB Syntax to select a range

Robert,

I do Excel consulting full time. Feel free to call me at the number on my
web site.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email address is on the web site)

"xjetjockey" wrote in message
ups.com...
Thanks for your help with this. Do you happen to know anyone who does
VBA coding that I could hire to work on some projects? Thanks.
Robert


Gary''s Student wrote:
Dim s as String
s=FFR & ":" & FTR
Range(s).Select
--
Gary''s Student


"xjetjockey" wrote:

I am trying to select a range from E294 to E314. I have set the two
cells to"
FFR = E294
FTR = E314
These have been Dim'd as Variants, and will be re-used elsewhere in the
procedure later.

I want to select the entire range so that I can do a copy/paste
function.

Can you please tell me how to code this?

Thanks.

Robert







Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with creating a Range Name syntax Paul Setting up and Configuration of Excel 0 February 4th 06 08:22 PM
Need help with creating a Range Name syntax Gary''s Student Setting up and Configuration of Excel 0 February 4th 06 06:52 PM
how to select a range that start in diferent row Pasmatos Excel Discussion (Misc queries) 2 November 28th 05 07:00 PM
keyboard command used to select a range of nonadjacent cells? Jessizzle123 Excel Discussion (Misc queries) 2 November 9th 05 09:19 PM
keyboard command used to select a range of nonadjacent cells? Ron Coderre Excel Discussion (Misc queries) 0 November 9th 05 07:16 PM


All times are GMT +1. The time now is 03:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"