Dummy Excel
Well-known Member
- Joined
- Sep 21, 2005
- Messages
- 1,004
- Office Version
-
- 2019
- 2010
- 2007
- Platform
-
- Windows
Hi,
I am trying to create a simple macro where it copies columns from one worksheet to another, although the VB code needs to be dynamic as the number of columns changes on a weekly basis.
So basically I need the macro to determine how many columns there are, then copy each column into another workbook...why create a macro to do this instead of using range("A1").currentregion.copy I hear you say well basically when I paste it into the other worksheet I need to paste them in a specific place which I will put the VB code together.
can anyone help to start me off??
cheers
Sam
I am trying to create a simple macro where it copies columns from one worksheet to another, although the VB code needs to be dynamic as the number of columns changes on a weekly basis.
So basically I need the macro to determine how many columns there are, then copy each column into another workbook...why create a macro to do this instead of using range("A1").currentregion.copy I hear you say well basically when I paste it into the other worksheet I need to paste them in a specific place which I will put the VB code together.
can anyone help to start me off??
cheers
Sam