我想知道你是否可以帮助,我有两张表“主文件”和“帐户”的目的是复制帐户工作表中的每个单元格账号从A2开始完成,并复制到主文件工作表的B6中。我需要将文件保存到我的桌面上,我已经为它写了一些代码,但我似乎不知道如何从accounts中选择单元格-复制到B6 - save,然后移动到下一个单元格。有人能帮帮忙吗?
Private Sub LOOPCELL()
Dim ws1 As Worksheet
Set ws1 = Sheets("Accounts")
Dim ws2 As Worksheet
Set ws2 = Sheets("Masterfile")
我有STI模型
#a/m/document.rb
class Document < ActiveRecord::Base
end
#a/m/document/static.rb
class Document::Static < Document
end
#a/m/document/dynamic.rb
class Document::Dynamic < Document
end
我正在使用draper gem来装饰我的模型
# a/d/document_decorator.rb
class DocumentDecorator < ApplicationDecora