LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Variable Range in Macro not working.

I know, i had to overcome the problem by referencing the whole code...
Worksheets("Blk Cont D Historico").Range(Worksheets("Blk Cont D
Historico").Cells(fila, "A"), Worksheets("Blk Cont D
Historico").Cells(ultimafila, "F")).Select

now it works, but it is still pretty anoying.
Thanks anyway for your help guys.

"Snake Plissken" wrote:

very strange!
check the references in VBA editor (tools\references) maybe you don't have
references set to apropriate libraries...



 
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
copying variable range not working Susan Excel Programming 2 October 27th 06 05:42 PM
Range used in a macro needs to be variable DaveP Excel Worksheet Functions 3 November 4th 05 03:23 PM
Macro to copy a specified range to a variable range SWT Excel Programming 4 October 21st 05 08:24 PM
Is it possible to set a variable range in a macro? Mary About this forum 0 June 12th 05 06:26 PM
range value with variable not working? James[_24_] Excel Programming 5 October 4th 04 02:43 PM


All times are GMT +1. The time now is 11:22 AM.

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"