T
Terry
Here's what I want to do:
Offer the user the ability to quickly select a print area and print it.
Here's what I've done so far:
Defined [named] a number of ranges, each being a potential print area.
Ranges are called Week_1, Week_2, Week_3 etc
Added an unbound combobox with an input range that draws the named ranges
from a separate worksheet.
Added a command button to print the current print area.
Here's where I'm stuck:
I think I can get to grips with setting the print area in code if i could
just extract the value in the combobox as a variable. I tried adding a cell
link to the combobox in the hope of extracting the value from a cell rather
than the combo. However, the cell it is bound to contains just a [row]
number rather than the value that appears in the combo.
Where am i going wrong?
TIA for any pointers. Access/VBA, I'm used to!
WinXP;O2K
Offer the user the ability to quickly select a print area and print it.
Here's what I've done so far:
Defined [named] a number of ranges, each being a potential print area.
Ranges are called Week_1, Week_2, Week_3 etc
Added an unbound combobox with an input range that draws the named ranges
from a separate worksheet.
Added a command button to print the current print area.
Here's where I'm stuck:
I think I can get to grips with setting the print area in code if i could
just extract the value in the combobox as a variable. I tried adding a cell
link to the combobox in the hope of extracting the value from a cell rather
than the combo. However, the cell it is bound to contains just a [row]
number rather than the value that appears in the combo.
Where am i going wrong?
TIA for any pointers. Access/VBA, I'm used to!
WinXP;O2K