Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 47
Default Need help on Address

I have had help on this, but I lack the understanding of address and it
applies here...


For i = 3 To 4
lastcol = .Cells(40, Columns.Count).End(xlToLeft)(1, 2).Column
LastRow = .Cells(.Rows.Count, "A").End(xlUp).Row
With .Range(.Cells(40, lastcol), .Cells(LastRow, lastcol))
.Formula = "=IF(INDEX(MAPActive!" & Column(i).Address &
iCol & ",MA

In this what is happening with " & Column(i).Address & iCol &" ??


If someone could point me to a good reference to this I would
appreciate it...the help doesn't help much..


Thanks,

Hans

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Need help on Address

if i = 10 then

from the immediate window:
i = 10
? Activesheet.Columns(i).Address
$J:$J

column9i) without the s and some type of qualifier will just raise an error.

that whole line thing looks a little bit screwy to me, so maybe you need to
go back to your helper.

--
Regards,
Tom Ogilvy




" wrote:

I have had help on this, but I lack the understanding of address and it
applies here...


For i = 3 To 4
lastcol = .Cells(40, Columns.Count).End(xlToLeft)(1, 2).Column
LastRow = .Cells(.Rows.Count, "A").End(xlUp).Row
With .Range(.Cells(40, lastcol), .Cells(LastRow, lastcol))
.Formula = "=IF(INDEX(MAPActive!" & Column(i).Address &
iCol & ",MA

In this what is happening with " & Column(i).Address & iCol &" ??


If someone could point me to a good reference to this I would
appreciate it...the help doesn't help much..


Thanks,

Hans


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 47
Default Need help on Address

Tom,

Thanks it sounds like I need to scratch this and re-think before I go
back to the person...
As a FYI, the section you helped me with that immediately follows this
section,

WORKS LIKE A CHARM!

Thanks,

Hans


Tom Ogilvy wrote:
if i = 10 then

from the immediate window:
i = 10
? Activesheet.Columns(i).Address
$J:$J

column9i) without the s and some type of qualifier will just raise an error.

that whole line thing looks a little bit screwy to me, so maybe you need to
go back to your helper.

--
Regards,
Tom Ogilvy




" wrote:

I have had help on this, but I lack the understanding of address and it
applies here...


For i = 3 To 4
lastcol = .Cells(40, Columns.Count).End(xlToLeft)(1, 2).Column
LastRow = .Cells(.Rows.Count, "A").End(xlUp).Row
With .Range(.Cells(40, lastcol), .Cells(LastRow, lastcol))
.Formula = "=IF(INDEX(MAPActive!" & Column(i).Address &
iCol & ",MA

In this what is happening with " & Column(i).Address & iCol &" ??


If someone could point me to a good reference to this I would
appreciate it...the help doesn't help much..


Thanks,

Hans



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
How do I avoid excel change absolute address to relative address Miguel Excel Discussion (Misc queries) 3 May 10th 07 11:18 PM
long address list, name-address-city, listed vertically, how do y. kb Excel Discussion (Misc queries) 2 March 4th 05 12:48 AM
How do I import Office address book to Outlook Express address bo. snnorp Excel Discussion (Misc queries) 2 February 22nd 05 11:47 AM
How to insert an address from Outlook 2003 address book ? Dubois Excel Programming 0 September 27th 04 09:26 AM
LINKING Address cells from an EXCEL spreadsheet to fill MapQuest Address Info Duane S. Meyer Excel Programming 0 August 30th 03 12:16 AM


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