Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default VBA format for a variable cell selection

Hi,
..
I would like to know how the following Excel 4 macro command can be
converted to VBA
=SELECT("R"&z+7&"C6")

I have no problem defining the variable "z" value, however I have been
unable to convert the above format into VBA.

Many thanks in anticipation.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default VBA format for a variable cell selection


Cells(z+7,6).Select

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



wrote in message
oups.com...
Hi,
.
I would like to know how the following Excel 4 macro command can be
converted to VBA
=SELECT("R"&z+7&"C6")

I have no problem defining the variable "z" value, however I have been
unable to convert the above format into VBA.

Many thanks in anticipation.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default VBA format for a variable cell selection

On Aug 15, 8:16 pm, "Bob Phillips" wrote:
Cells(z+7,6).Select

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

wrote in message

oups.com...



Hi,
.
I would like to know how the following Excel 4 macro command can be
converted to VBA
=SELECT("R"&z+7&"C6")


I have no problem defining the variable "z" value, however I have been
unable to convert the above format into VBA.


Many thanks in anticipation.- Hide quoted text -


- Show quoted text -


Thanks a million Bob.
I must say that together with my 9 year break in writing macros and
with the evolution of VBA I have been somewhat
left behind. Thanks again for your help.

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
Variable Selection Summation bodhisatvaofboogie Excel Programming 3 June 8th 07 02:57 PM
Store the format of a cell in a variable Dave Excel Programming 2 April 26th 07 11:39 PM
variable number format in cell tina Excel Discussion (Misc queries) 2 November 7th 06 11:49 AM
Selection of variable rows Archie Excel Programming 5 May 10th 06 10:50 AM
Variable for column selection Mats W. Excel Programming 2 July 14th 05 09:17 AM


All times are GMT +1. The time now is 02:08 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"