What's wrong with his code? I cant seem to make it work right between 2 workbooks. I tried the code within the same workbook and it works fine.![]()
![]()
Please Login or Register to view this content.
What's wrong with his code? I cant seem to make it work right between 2 workbooks. I tried the code within the same workbook and it works fine.![]()
![]()
Please Login or Register to view this content.
Which line does the error occur on? I presme Columnletter is a Function.
You could try changing
to![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
Hi Roy,
Columnletter is a function i've used over and over again in my code so i'm confident that's not where the error is.
I looked at my code again this morning only to find the error staring me right in the nose.... the line:
ChartBook.Worksheets("Sheet1").Range(recordcolumn & recordrow).Value = SPRBook.Worksheets("SPRs").Range("a" & searchrow).Value
I looked in the chartbook and couldn't find sheet1... i had renamed it "Missing data" on friday. Wow, I feel stupid.
Thanks anyways,
Kareem
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks