Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ken Ken is offline
external usenet poster
 
Posts: 207
Default Never tried this location in excel

Curt

If what you mean by "calling location" is the address of the active
cell when the procedure is called and the "preceding column" is the
column to the immediate left of that active cell, it should be pretty
easy. Something like


sub test()
activecell.offset(0,-1).value="data"
end sub


Good luck

Ken
Norfolk, Va



Curt wrote:
Is it possible to call a procedure and have excel put in cell address of
calling location. Have a procedure that must be called from many locations
and return data to location in precedding column.
Never tried this.


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
Macro - save to current location vs excel default location leezard Excel Discussion (Misc queries) 0 October 28th 08 03:04 PM
Excel startup location [email protected] Setting up and Configuration of Excel 4 June 1st 07 12:50 PM
Excel Backup Location Tony Excel Discussion (Misc queries) 7 March 30th 06 10:47 PM
Mouse Location, Movement and Spreadsheet Location TCook Excel Programming 3 October 3rd 05 10:23 PM
templates location in excel Ribcage Excel Discussion (Misc queries) 2 July 8th 05 08:54 PM


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