Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default How do I reference the cell address next to Active cell - Try 2

Frank & Tom help me with my previous request but unfortunately I have to
approach the obstacle from another angle.

My user choose something from the my combo box (2 columns of data displayed
in combo box - Number & Description) and the VBA code add the value from
BOUNDCOLUMN 1 to the active cell how can I add the value from COLUMN 2 into
the cell to the right of the active cell.

Your help would be appreciated.

Regards
Nico




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default How do I reference the cell address next to Active cell - Try 2

Hi
to reference the cell right to the active cell try
ActiveCell.Offset(0,1).value = your value


--
Regards
Frank Kabel
Frankfurt, Germany

Nico Le Roux wrote:
Frank & Tom help me with my previous request but unfortunately I have
to approach the obstacle from another angle.

My user choose something from the my combo box (2 columns of data
displayed in combo box - Number & Description) and the VBA code add
the value from BOUNDCOLUMN 1 to the active cell how can I add the
value from COLUMN 2 into the cell to the right of the active cell.

Your help would be appreciated.

Regards
Nico


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 391
Default How do I reference the cell address next to Active cell - Try 2

the combos ListIndex Property points to the selected
values
with combobox
Target.Value = .List(.Listindex,0)
Target.Offset(0,1).Value = .List(.Listindex,1)
end with



Patrick Molloy
Microsoft Excel MVP


-----Original Message-----
Frank & Tom help me with my previous request but

unfortunately I have to
approach the obstacle from another angle.

My user choose something from the my combo box (2

columns of data displayed
in combo box - Number & Description) and the VBA code

add the value from
BOUNDCOLUMN 1 to the active cell how can I add the value

from COLUMN 2 into
the cell to the right of the active cell.

Your help would be appreciated.

Regards
Nico




.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default How do I reference the cell address next to Active cell - Try 2

Thanks Patrick it works. Saved me a lot of time.

"Patrick Molloy" wrote in message
...
the combos ListIndex Property points to the selected
values
with combobox
Target.Value = .List(.Listindex,0)
Target.Offset(0,1).Value = .List(.Listindex,1)
end with



Patrick Molloy
Microsoft Excel MVP


-----Original Message-----
Frank & Tom help me with my previous request but

unfortunately I have to
approach the obstacle from another angle.

My user choose something from the my combo box (2

columns of data displayed
in combo box - Number & Description) and the VBA code

add the value from
BOUNDCOLUMN 1 to the active cell how can I add the value

from COLUMN 2 into
the cell to the right of the active cell.

Your help would be appreciated.

Regards
Nico




.



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 can I use the active cell address as a value mohavv Excel Discussion (Misc queries) 2 April 18th 08 06:16 AM
Get Address of Active Cell LarryL Excel Discussion (Misc queries) 3 February 16th 07 10:02 PM
How do I reference the cell address next to Active cell Nico Le Roux Excel Programming 5 February 17th 04 07:45 PM
Getting active cell address bmwmcrider Excel Programming 5 October 8th 03 03:23 PM
How to get the active cell address? d Excel Programming 1 August 25th 03 04:34 PM


All times are GMT +1. The time now is 05:27 AM.

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

About Us

"It's about Microsoft Excel"