LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
PaulW
 
Posts: n/a
Default Macro / VBA adjusting variable columns

I've been set the task of taking 4 spreadsheets and making them more
automatic, i've done 3, but the 4th is proving difficult.

Down the left hand side are tasks, and along the top are the dates. The
first column of data (data, not the sheet, A and B contain the tasks) then
the print area needs moving on 1 column. All the information can be taken
from another spreadsheet apart from the date at the top which should be the
last working day.

For a bit more information, today I hid column BT and extended the print
area to column CI, I then put 18/04/06 at the top and copied the information
over. Tomorrow I will hide BU and extend to CJ, putting the date as 19/04/06.

How can I hide the first column of data (the 3rd unhidden) and extend the
print area 1 column in a Macro?

Cheers!
 
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
insert columns macro is putting 2 columns instead of 1 AGH Excel Worksheet Functions 2 February 27th 06 02:36 PM
Macro for resizing of columns? MatthewTap Excel Discussion (Misc queries) 2 December 1st 05 06:48 PM
Macro Help In Excel welshlad Excel Discussion (Misc queries) 14 October 26th 05 02:34 PM
Closing File Error jcliquidtension Excel Discussion (Misc queries) 4 October 20th 05 12:22 PM
variable range in a macro AMK Excel Discussion (Misc queries) 3 July 6th 05 09:32 AM


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