VBA question, Increase the last row to upload.

srizki

Well-known Member
Joined
Jan 14, 2003
Messages
1,857
Office Version
  1. 365
Platform
  1. Windows
I use a spreadsheet to upload data on Oracle using Add-Ins, but many times there are specific number of rows that are uploaded, let’s say I have 1200 rows to upload, and let's say 587 will upload, whatever I do.
The upload sheet has a macro, that says that upload the rows where there is a flag in column B, so after the rows uploaded (587 rows) the flag is disappeared, and flag stays on the rest of the rows that did not upload.
What could be the reason. What should I change in the VBA to upload all the rows. Also, if I add rows after first few top rows it works, meaning the last row let’s say 587 moves to further down, so if I add 100 rows the 587 will become 687.

Please advise.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Please post the code. Without seeing the code it is very difficult to find what is wrong.
 
Upvote 0
Hi Scott, Thank you,
The code is rather too long so I have put a link to google drive here,

Upload VBA.docx - Google Drive

Please let me know if that not the right way to post the code.

regards,
 
Upvote 0
I can not go to that link from work. Maybe someone else that is able to can help.
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top