Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Offsetting from the Reference of a Cell, not the cell

Hi, can anyone help me with this?

In one workbook, I click on a cell and type "=" . I then switch t
another workbook, click on a cell, and press

enter. What I want to happen is have a bunch of the cells in the firs
workbook automatically reference cells in

the second workbook that are next to the one I clicked on.

The cell that I click on in the second workbook is variable/not set.
Also, I don't want to have to manually drag anything; I would like i
to be automatic.

Thanks for your help

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Offsetting from the Reference of a Cell, not the cell

Try Resize. As an example

Range("A1").Resize(3,4).Select

will select cells A1:D4.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"cdegar01 " wrote in message
...
Hi, can anyone help me with this?

In one workbook, I click on a cell and type "=" . I then switch to
another workbook, click on a cell, and press

enter. What I want to happen is have a bunch of the cells in the first
workbook automatically reference cells in

the second workbook that are next to the one I clicked on.

The cell that I click on in the second workbook is variable/not set.
Also, I don't want to have to manually drag anything; I would like it
to be automatic.

Thanks for your help!


---
Message posted from http://www.ExcelForum.com/



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
offsetting Secondary Axes to a cell value [email protected] Charts and Charting in Excel 0 December 28th 06 11:15 PM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 1 February 11th 05 06:36 AM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 0 February 11th 05 05:35 AM
problem with cell reference in =sum(offset(cell reference,x,y,z,a)). Want cell ref to be variable. [email protected] Excel Worksheet Functions 2 December 11th 04 12:05 AM
Problem with =sum(offset(cell reference,w,x,y,z). I want cell reference to be variable [email protected] Excel Worksheet Functions 2 December 11th 04 12:00 AM


All times are GMT +1. The time now is 04:49 AM.

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"