View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
drabbacs[_2_] drabbacs[_2_] is offline
external usenet poster
 
Posts: 2
Default named range, conditional formatting

This is probably something very simply solved but it has eluded me. How
does one perform an offset using the values in named cells.

Example:

cell A1 named LeftRight
cell A2 named UpDown
cell C3 named Base

The names were defined via the spreadsheet.

Range("base").select
Activecell.Offset(UpDown,LeftRight).Select

In general what I am trying to do is move the cursor(activecell) based
on user input in the named cells offset from the starting position
"base".

The immediate window is telling me that LeftRight and UpDown are zero,
ie. undefined (when using Option Explicit). There are values in those
cells.

Thanks in advance
Drabbacs