boblarson
Smeghead
- Local time
- Yesterday, 19:35
- Joined
- Jan 12, 2001
- Messages
- 32,059
Yes, I would have answered sooner if I hadn't been swamped trying to catch up from being gone from work for almost a week (took vacation time to move from an apartment to a house).
You could have shortened up the range part though. You didn't need to use the objXL.Sheets reference since you have a sheet object already there (which is based off of the objXL reference). So you could have used:
You could have shortened up the range part though. You didn't need to use the objXL.Sheets reference since you have a sheet object already there (which is based off of the objXL reference). So you could have used:
Code:
xlSht.Range("K2:O9").Cut Destination:=[B][COLOR=red]xlSht.[/COLOR][/B]Range("A2:E9")