Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default use information from an input box in cell reference formula

I have an input box that promps for a row number which I then want to use in
a cell reference on a different tab. For some reason my concatenation isn't
working.

ActiveCell.FormulaR1C1 = "=PURCHASING!R[" & row & "]C[18]"

where row = the input box information

Any help is greatly appreciated.

thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default use information from an input box in cell reference formula

Maybe

response = InputBox("enter row")
ActiveCell.FormulaR1C1 = "=PURCHASING!R[" & response & "]C[18]"

Mike

"Chas" wrote:

I have an input box that promps for a row number which I then want to use in
a cell reference on a different tab. For some reason my concatenation isn't
working.

ActiveCell.FormulaR1C1 = "=PURCHASING!R[" & row & "]C[18]"

where row = the input box information

Any help is greatly appreciated.

thanks

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default use information from an input box in cell reference formula

Still doesn't work, I've been getting a run time error every time I try.

Thanks

"Mike H" wrote:

Maybe

response = InputBox("enter row")
ActiveCell.FormulaR1C1 = "=PURCHASING!R[" & response & "]C[18]"

Mike

"Chas" wrote:

I have an input box that promps for a row number which I then want to use in
a cell reference on a different tab. For some reason my concatenation isn't
working.

ActiveCell.FormulaR1C1 = "=PURCHASING!R[" & row & "]C[18]"

where row = the input box information

Any help is greatly appreciated.

thanks

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default use information from an input box in cell reference formula

is your relative cell off the worksheet?

"Chas" wrote:

Still doesn't work, I've been getting a run time error every time I try.

Thanks

"Mike H" wrote:

Maybe

response = InputBox("enter row")
ActiveCell.FormulaR1C1 = "=PURCHASING!R[" & response & "]C[18]"

Mike

"Chas" wrote:

I have an input box that promps for a row number which I then want to use in
a cell reference on a different tab. For some reason my concatenation isn't
working.

ActiveCell.FormulaR1C1 = "=PURCHASING!R[" & row & "]C[18]"

where row = the input box information

Any help is greatly appreciated.

thanks

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 68
Default use information from an input box in cell reference formula

Works OK for me -- what's happening when you use it? (I assume there's a
worksheet named PURCHASING).


"Chas" wrote in message
...
I have an input box that promps for a row number which I then want to use
in
a cell reference on a different tab. For some reason my concatenation
isn't
working.

ActiveCell.FormulaR1C1 = "=PURCHASING!R[" & row & "]C[18]"

where row = the input box information

Any help is greatly appreciated.

thanks





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
Reference a cell on another sheet and have the information auto up Danielle Excel Worksheet Functions 2 October 9th 08 12:43 AM
How to have information auto input if cell = yes Pamela2216 Excel Worksheet Functions 0 September 25th 06 09:45 PM
information function - does cell contain reference R of Steinke Excel Worksheet Functions 1 February 27th 06 09:57 PM
How do I reference Cell information in my Headers? P Alicea Excel Discussion (Misc queries) 2 October 27th 05 08:08 PM
Input cell information RB Camp Excel Discussion (Misc queries) 3 May 18th 05 05:49 PM


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