Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 103
Default Cutting cell with object

I have a number of macros which run just fine on the computer that I
generated them on. This computer has Excel version 2002 SP3. The code fails
on a simple operation when I run the code on another machine with Excel
version 2000. The section of code is:

Range("E3").Select
Selection.Cut
Picture_Column = NumberOfCategories + 6
Sheets("All Concepts").Cells(3, Picture_Column).Select
ActiveSheet.Paste

Range("E3") contains a button and scroll bar that I want to move to another
location. Is the issue as simple as the difference in Excel versions or is
there something subtle I am missing.

Thanks in advance for your help.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Cutting cell with object

Try it like this:



Picture_Column = NumberofCategories + 6
Range("E3").Cut Sheets("All Concepts") _
.Cells(3, Picture_Column)


If you still have problems, you may have a missing reference in your
workbook. After the error, go into the VBE with your project as the
activeproject (selected in the project window) and go to Tools=References
(may have to hit reset first) and see if one of your references is marked as
MISSING. If so, you need to clear this up.

--
Regards,
Tom Ogilvy


"ZipCurs" wrote:

I have a number of macros which run just fine on the computer that I
generated them on. This computer has Excel version 2002 SP3. The code fails
on a simple operation when I run the code on another machine with Excel
version 2000. The section of code is:

Range("E3").Select
Selection.Cut
Picture_Column = NumberOfCategories + 6
Sheets("All Concepts").Cells(3, Picture_Column).Select
ActiveSheet.Paste

Range("E3") contains a button and scroll bar that I want to move to another
location. Is the issue as simple as the difference in Excel versions or is
there something subtle I am missing.

Thanks in advance for your help.

Reply
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
Cutting text from one cell to paste in another? Klee Excel Worksheet Functions 3 March 4th 08 09:45 AM
Excel Cell Text Cutting Off Jones Excel Discussion (Misc queries) 5 August 6th 07 06:12 AM
cutting characters from a cell LAndersen Excel Worksheet Functions 5 January 6th 07 02:46 AM
Help Please Cutting and pasting based on cell value Mike Excel Programming 3 February 17th 05 07:36 PM
Cutting Data from cells changes Cell Formatting Jack Keat Excel Programming 0 September 26th 04 01:56 PM


All times are GMT +1. The time now is 06:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"