Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have used Range(Cells(a,b),cells(c,d)).Copy in Excel VBA code successfully
before but currently am working on a macro where I use the following instuction: wsFrom.Range(Cells(intFRowNum, 1), Cells(intFRowNum, FPMCOL)).Copy and get an error that reads "Run-tim error '1004'; Application-defined or object-defined error." If I substitute the following instruction it works fine (i.e. no error): wsFrom.Range("A" & intFRowNum & ":" & Chr(64 + FPMCOL) & intFRowNum).Copy Any idea what's going on? Will |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Lock Cell Format - Allow copy and paste of data without format change | Excel Worksheet Functions | |||
copy conditional format without using format painter | Excel Worksheet Functions | |||
Copy the value of a cell, no format, into several cells. | Excel Discussion (Misc queries) | |||
Copy format from row above for selected cells | Excel Programming | |||
copy conditional format to regular format | Setting up and Configuration of Excel |