A
Andy
Hi,
I have created a form and am using a command button with code which will
export all data to an excel spreadsheet and format the spreadsheet how I
want i.e. autofilter etc.
Is it possible to add some code to also format certain cells within a range
(D1
1200) depending on their text value, please note that the range will
change as records are added/deleted
i.e.
if cell D8 = Group1, set the pattern to Red
if cell D978 = Group18, set the pattern to blue
etc.
Also, is it possible to code an excel macro inrto a new spreadsheet from
Access?
I suspect the answer to this is no, but it's always worth asking
Many Thanks to any who can help and those who have a look!
Andy
I have created a form and am using a command button with code which will
export all data to an excel spreadsheet and format the spreadsheet how I
want i.e. autofilter etc.
Is it possible to add some code to also format certain cells within a range
(D1

change as records are added/deleted
i.e.
if cell D8 = Group1, set the pattern to Red
if cell D978 = Group18, set the pattern to blue
etc.
Also, is it possible to code an excel macro inrto a new spreadsheet from
Access?
I suspect the answer to this is no, but it's always worth asking
Many Thanks to any who can help and those who have a look!
Andy